Merge pull request #174 from MarekPikula/global-signle-socialshare

Add option to globally disable single page social share
This commit is contained in:
Guru Sabarish
2024-06-15 19:57:03 +05:30
committed by GitHub
2 changed files with 6 additions and 5 deletions
+1
View File
@@ -385,6 +385,7 @@ params:
content: "min read" content: "min read"
scrollprogress: scrollprogress:
enable: true enable: true
socialShare: true
# For translations # For translations
terms: terms:
+1 -1
View File
@@ -66,7 +66,7 @@
</aside> </aside>
{{end}} {{end}}
{{ if .Params.socialShare | default true }} {{ if .Params.socialShare | default .Site.Params.singlePages.socialShare | default true }}
<aside class="social"> <aside class="social">
<h5>{{ .Site.Params.terms.social | default "Social" }}</h5> <h5>{{ .Site.Params.terms.social | default "Social" }}</h5>
<div class="social-content"> <div class="social-content">