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
1 changed files with 1 additions and 1 deletions

View File

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