Add social sharing setting to config.toml

This commit is contained in:
George Cushen 2016-05-25 21:26:17 +01:00
commit 703a6af3b2
2 changed files with 4 additions and 1 deletions

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 = []

View file

@ -1,4 +1,4 @@
{{ if not .Site.Params.disable_sharing }}
{{ if .Site.Params.sharing }}
<div class="share-box">
<ul class="share">
<li>