fix(article/comments): accept boolean true in .Params.comments (#352)

This commit is contained in:
Christopher John Jackson
2021-09-17 21:29:19 +02:00
committed by GitHub
parent 5693c4bf7a
commit 00c8616931
+2 -2
View File
@@ -17,7 +17,7 @@
{{ partial "article/components/related-contents" . }}
{{ if or (not (isset .Params "comments")) (eq .Params.comments "true")}}
{{ if not (eq .Params.comments false) }}
{{ partial "comments/include" . }}
{{ end }}
@@ -54,4 +54,4 @@
</section>
</aside>
{{ end }}
{{ end }}
{{ end }}