diff options
-rw-r--r-- | layouts/_default/single.html | 2 |
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 }} |