diff --git a/themes/ezhil/layouts/_default/single.html b/themes/ezhil/layouts/_default/single.html index d7d8dcf..c9842d7 100644 --- a/themes/ezhil/layouts/_default/single.html +++ b/themes/ezhil/layouts/_default/single.html @@ -27,7 +27,7 @@ {{ end }} {{ end }} - {{- 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 -}}