layouts: no comments for pages [deploy]
This commit is contained in:
parent
55a5ea775d
commit
edd9494026
|
@ -36,7 +36,7 @@
|
|||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{- if and (isset .Site.Params "utterancesrepo") (and (not .Site.IsServer) (not .Site.BuildDrafts)) -}}
|
||||
{{- if and (isset .Site.Params "utterancesrepo") (and (not (eq .Type "page")) (and (not .Site.IsServer) (not .Site.BuildDrafts))) -}}
|
||||
{{ partial "utterances.html" . }}
|
||||
{{- end -}}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue