layouts: no comments for pages [deploy]

This commit is contained in:
Harsh Shandilya 2022-02-01 15:30:53 +05:30
parent 55a5ea775d
commit edd9494026
1 changed files with 1 additions and 1 deletions

View File

@ -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>