disable comments on non-specific page types
This commit is contained in:
parent
95906d6405
commit
91ca408bdd
1 changed files with 4 additions and 2 deletions
|
@ -61,6 +61,8 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if eq .Type $.Site.Params.contentTypeName }}
|
||||
{{ partial "comments.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue