Fix disqusShortname conditional

Fixes #43
This commit is contained in:
Bjørn Erik Pedersen 2017-07-25 10:18:25 +02:00
parent daead1a8b0
commit 80695973ac

View file

@ -9,7 +9,7 @@
{{ .Content }} {{ .Content }}
</div> </div>
{{ if and (isset .Site.Params "disqusShortname") (ne .Site.Params.disqusShortname "") }} {{ if .Site.Params.disqusShortname }}
<h2>Comments</h2> <h2>Comments</h2>
{{ partial "disqus" . }} {{ partial "disqus" . }}
{{ end }} {{ end }}