mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-28 19:43:31 +08:00
Possibility to disable comments in specific pages
This commit is contained in:
parent
255abd5c88
commit
855e1939a7
@ -1,3 +1,5 @@
|
||||
{{ if .Site.Params.comments.enabled }}
|
||||
{{ if not .Page.Params.comments.disabled }}
|
||||
{{ partial (printf "comments/provider/%s" .Site.Params.comments.provider) . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
Loading…
Reference in New Issue
Block a user