diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 2105eb64..135277cd 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -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 = [] diff --git a/layouts/partials/share.html b/layouts/partials/share.html index b5ebd87e..89893a0c 100644 --- a/layouts/partials/share.html +++ b/layouts/partials/share.html @@ -1,4 +1,4 @@ -{{ if not .Site.Params.disable_sharing }} +{{ if .Site.Params.sharing }}