diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7f42880..19cd9ac 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -61,8 +61,12 @@ {{ end }} {{ end }} - {{ if or (eq .Type $.Site.Params.contentTypeName) (.Params.Comments) }} - {{ partial "comments.html" . }} + + {{ if not (eq .Params.Comments "false") }} + {{ if or (eq .Type $.Site.Params.contentTypeName) (.Params.Comments) }} + {{ partial "comments.html" . }} + {{ end }} {{ end }} + {{ end }}