mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
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
Block a user