summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-07-27 14:27:38 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-07-27 14:28:58 +0530
commite0b08519c9f27e8763d1e725517e095899f905fa (patch)
tree321ab51aa0d48a673f05f39fcf668e709f2077d3 /layouts/_default
parent1329075c61378a99a5e37e28c3310c7cc20caee8 (diff)
add Share Buttons
use Params.ShowShareButtons = true credits : https://www.iconfinder.com/iconsets/social-media-rounded-corners License: Free for commercial use
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/single.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 8ba8fc6..625bafb 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -33,6 +33,9 @@
<li><a href="{{ $href }}">{{ . }}</a></li>
{{- end }}
</ul>
+ {{ if .Site.Params.ShowShareButtons }}
+ {{ partial "share-icons.html" . }}
+ {{ end }}
</footer>
{{- end }}