Add social sharing setting to config.toml

This commit is contained in:
George Cushen committed 2016-05-25 21:26:17 +01:00
1 parent bd239c34dd
commit 703a6af3b2
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -26,6 +26,9 @@ googleAnalytics = ""
# Enable global LaTeX math rendering? If false, you can enable it locally on a per page basis.
math = false
# Enable native social sharing buttons?
sharing = true
# Link custom CSS and JS assets (relative to /static/css and /static/js respectively)
custom_css = []
custom_js = []
+1 -1
View File
@@ -1,4 +1,4 @@
{{ if not .Site.Params.disable_sharing }}
{{ if .Site.Params.sharing }}
<div class="share-box">
<ul class="share">
<li>