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