Simplify if logic

This commit is contained in:
Christopher John Jackson 2021-09-17 09:10:14 +01:00 committed by GitHub
parent 31518ce96b
commit dea3972dcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@
{{ partial "article/components/related-contents" . }}
{{ if or (not (isset .Params "comments")) (eq .Params.comments true) (eq .Params.comments "true")}}
{{ if not (eq .Params.comments false) }}
{{ partial "comments/include" . }}
{{ end }}
@ -54,4 +54,4 @@
</section>
</aside>
{{ end }}
{{ end }}
{{ end }}