forked from mirrors/hugo-theme-terminal
Adds flag to hide comments on a page-to-page basis
This commit is contained in:
@ -49,6 +49,8 @@
|
||||
{{ partial "posts_pagination.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if not (.Params.hideComments | default false) }}
|
||||
{{ partial "comments.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user