Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dplesca/purehugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schalla <daniel@schalla.me>2016-03-05 19:31:33 +0300
committerDaniel Schalla <daniel@schalla.me>2016-03-05 19:31:33 +0300
commit84e8b638019709922001a22a6024e05afc24d1c1 (patch)
tree78d16dc9bef1df85116638d22d4f42590704e89f
parenta1291a9f9e7bc0ac1b4456f3b55bf7908e45fcc7 (diff)
Added Option to Hide Share Options in a Post
-rw-r--r--layouts/_default/single.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 78cf78c..99cb4de 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -24,7 +24,7 @@
{{ end }}
</p>
</header>
-
+ {{ if not .Site.Params.hideShareOptions }}
<div class="post-share">
<div class="post-share-links">
<h4 style="">Share</h4>
@@ -36,6 +36,7 @@
</div>
</div>
+ {{ end }}
<div class="post-description">
{{ .Content }}
</div>