mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-14 20:35:07 +01:00
disable comments on non-specific page types
This commit is contained in:
parent
95906d6405
commit
91ca408bdd
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user