about summary refs log tree commit diff stats
path: root/layouts
diff options
context:
space:
mode:
authorBjørn Erik Pedersen2017-07-25 10:18:25 +0200
committerBjørn Erik Pedersen2017-07-25 10:18:25 +0200
commit80695973ac0e3dd9a846f055d43fe3969b711144 (patch)
treeb39900111dcafc527c94f36d360cfecebce71e23 /layouts
parentdaead1a8b052cfe15d4f9e282b05b92bffc66c46 (diff)
downloadhyde-80695973ac0e3dd9a846f055d43fe3969b711144.tar.lz
hyde-80695973ac0e3dd9a846f055d43fe3969b711144.tar.zst
hyde-80695973ac0e3dd9a846f055d43fe3969b711144.zip
Fix disqusShortname conditional
Fixes #43
Diffstat (limited to 'layouts')
-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 }}