mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 04:35:31 -04:00
allow comments to be disabled on individual posts
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
{{ if eq hugo.Environment "production" }}
|
||||
{{ if and (ne .Params.comments false) (eq hugo.Environment "production") }}
|
||||
<div id="comments">
|
||||
{{ partial "scripts/utterances" . }}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user