diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 040b547..dafa9f2 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -17,7 +17,7 @@ {{ partial "article/components/related-contents" . }} - {{ if or (not (isset .Params "comments")) (eq .Params.comments "true")}} + {{ if or (not (isset .Params "comments")) (eq .Params.comments true) (eq .Params.comments "true")}} {{ partial "comments/include" . }} {{ end }}