From cd5751ef1425db3ed7e46fcaa7fafe53e494c286 Mon Sep 17 00:00:00 2001 From: Alexandre Vicenzi Date: Mon, 15 Jun 2020 22:08:36 +0200 Subject: Fix comments validation --- layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default') 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 }} -{{ if (and .Site.DisqusShortname (eq .Params.DisableComments false)) -}} +{{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}

Comments

{{ template "_internal/disqus.html" . }} {{- end }} -- cgit v1.2.1