This commit is contained in:
Mivinci 2021-11-29 01:19:59 +08:00
parent 6ff9489f84
commit d30991a039

View file

@ -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 }}