mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 03:51:37 +01:00
add ability to disbale share on certain pages
add disableShare = true in page params --- disableShare: true ---
This commit is contained in:
parent
f392195b18
commit
7f7d8cfb22
@ -36,7 +36,7 @@
|
||||
{{- end }}
|
||||
</ul>
|
||||
{{- end }}
|
||||
{{ if .Site.Params.ShowShareButtons }}
|
||||
{{ if (and .Site.Params.ShowShareButtons (ne .Params.disableShare true) ) }}
|
||||
{{ partial "share-icons.html" . }}
|
||||
{{ end }}
|
||||
</footer>
|
||||
|
Loading…
Reference in New Issue
Block a user