]> njoseph.me Git - hyde.git/blobdiff - layouts/_default/single.html
Fix disqusShortname conditional
[hyde.git] / layouts / _default / single.html
index 96c9f943ae40f6bc11be86ded103bcb0a882f4cc..2a8e053c78560dcc7764b74fb0b41b8147c0ece0 100644 (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 }}