diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 54f10ae..9bc6709 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -29,7 +29,7 @@
- {{ if gt (len .Site.Params.disqusShortname) 0 }}
+ {{ if isset .Site.Params "disqusShortname" }}
{{ partial "disqus.html" . }}
{{ end }}