diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 5ade67e..0862274 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -22,7 +22,7 @@ {{ end }} - {{ if (.Params.comments) | or (and (or (not (isset .Params "comments")) (eq .Params.comments nil)) (.Site.Params.comments)) }} + {{ if (.Params.comments) | or (and (or (not (isset .Params "comments")) (eq .Params.comments nil)) (and .Site.Params.comments (ne .Params.type "page"))) }} {{ if .Site.DisqusShortname }}
{{ template "_internal/disqus.html" . }}