Fixed bug with comments, it was not attempting boolean true, but it was accepting string "true"

This commit is contained in:
Christopher John Jackson 2021-09-15 19:21:45 +01:00
parent 5693c4bf7a
commit 31518ce96b
No known key found for this signature in database
GPG Key ID: 380406FB0C1298AE

View File

@ -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 }}