From 52b597b75816053f33bf36c75ac38dfcba78b9ac Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 31 Dec 2017 22:04:20 +0000 Subject: [PATCH] Hide share buttons on base pages --- layouts/_default/single.html | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index c7c3958..0421ced 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,14 +3,16 @@
{{ partial "content.html" . }}
-
- Share this post -

- - - - -

-
+ {{ if .Section }} +
+ Share this page +

+ + + + +

+
+ {{ end }} {{ end }}