diff --git a/layouts/partials/comments/provider/disqusjs.html b/layouts/partials/comments/provider/disqusjs.html index 1ce7d7f..b407fc8 100644 --- a/layouts/partials/comments/provider/disqusjs.html +++ b/layouts/partials/comments/provider/disqusjs.html @@ -1,19 +1,19 @@
{{- $pc := .Site.Config.Privacy.Disqus -}} {{- $disqusjs := .Site.Params.Comments.Disqusjs -}} - {{- if not $pc.Disable -}} - {{ if and $disqusjs.Shortname $disqusjs.ApiKey }}
+ {{- if and (not $pc.Disable) (and $disqusjs.Shortname $disqusjs.ApiKey) -}} +
- {{end}} {{- end -}}