disable comments on non-specific page types

This commit is contained in:
Adam Ormsby 2019-12-24 09:32:31 +07:00
parent 95906d6405
commit 91ca408bdd

View File

@ -61,6 +61,8 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ partial "comments.html" . }} {{ if eq .Type $.Site.Params.contentTypeName }}
{{ partial "comments.html" . }}
{{ end }}
</div> </div>
{{ end }} {{ end }}