diff --git a/layouts/_default/single.html b/layouts/_default/single.html index ca8b9d2..7804152 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -36,7 +36,7 @@ {{ partial "mermaid.html" . }} {{ end }} -{{ if and .Site.Params.commentOnAllPosts (ne .Params.comment false) }} +{{ if or .Params.comment (and .Site.Params.commentOnAllPosts (ne .Params.comment false)) }} {{ if eq .Site.Params.comment "disqus"}} {{ partial "disqus.html" . }} {{ end }}