Revert "[skip prod] remove commento checks"

This reverts commit c573db5ac5.

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-07-14 16:06:30 +05:30
parent c837b676ca
commit c17fbf892b
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
{{ end }}
</article>
{{ partial "tags.html" .}}
{{ if and .Site.Params.CommentoURL -}}
{{ if and .Site.Params.CommentoURL (and (not .Site.BuildDrafts) (not .Site.IsServer)) -}}
{{ partialCached "commento.html" . }}
{{- end }}
{{ partial "post-pagination.html" .}}