summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorAlexandre Vicenzi <vicenzi.alexandre@gmail.com>2020-06-15 22:08:36 +0200
committerAlexandre Vicenzi <vicenzi.alexandre@gmail.com>2020-06-15 22:08:36 +0200
commitcd5751ef1425db3ed7e46fcaa7fafe53e494c286 (patch)
tree2ddc1c44c00859638dfd0528009ccbe12560fe01 /layouts/_default/single.html
parent33bd6cadcf20036da93e26e3347c817c44dc3173 (diff)
Fix comments validation
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 80217af..611a77f 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -11,7 +11,7 @@
{{ .Content }}
</div>
-{{ if (and .Site.DisqusShortname (eq .Params.DisableComments false)) -}}
+{{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}
<h2>Comments</h2>
{{ template "_internal/disqus.html" . }}
{{- end }}