themes/ezhil: restrict comments widget to prod [staging]
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
125229ffdd
commit
6537111df5
|
@ -27,7 +27,7 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{- if isset .Site.Params "utterancesrepo" -}}
|
||||
{{- if and (isset .Site.Params "utterancesrepo") (and (not .Site.IsServer) (not .Site.BuildDrafts)) -}}
|
||||
{{ partial "utterances.html" . }}
|
||||
{{- end -}}
|
||||
{{- $.Scratch.Set "isDisqus" true -}}
|
||||
|
|
Loading…
Reference in New Issue