add check for comments param
This commit is contained in:
parent
91ca408bdd
commit
d9ade4410a
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if eq .Type $.Site.Params.contentTypeName }}
|
||||
{{ if or (eq .Type $.Site.Params.contentTypeName) (.Params.Comments) }}
|
||||
{{ partial "comments.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue