summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-07-25 10:18:25 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-07-25 10:18:25 +0200
commit80695973ac0e3dd9a846f055d43fe3969b711144 (patch)
treeb39900111dcafc527c94f36d360cfecebce71e23 /layouts/_default
parentdaead1a8b052cfe15d4f9e282b05b92bffc66c46 (diff)
Fix disqusShortname conditional
Fixes #43
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 96c9f94..2a8e053 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -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 }}