diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 32bc143..2844957 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -44,7 +44,7 @@ {{- end }} - {{- if (.Param "comments") }} + {{- if not (.Param "noComments") }} {{- partial "comments.html" . }} {{- end }}