diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index dbed6421..828f4a00 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -1,4 +1,4 @@ -{{ if not (isset .Site.Params "disable_comments") }} +{{ if and (and (not (eq .Site.DisqusShortname "")) (not (isset .Site.Params "disable_comments")) (not (isset .Params "disable_comments"))) }}
{{ template "_internal/disqus.html" . }}