diff options
author | Bjørn Erik Pedersen | 2017-07-25 10:18:25 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen | 2017-07-25 10:18:25 +0200 |
commit | 80695973ac0e3dd9a846f055d43fe3969b711144 (patch) | |
tree | b39900111dcafc527c94f36d360cfecebce71e23 /layouts | |
parent | daead1a8b052cfe15d4f9e282b05b92bffc66c46 (diff) | |
download | hyde-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.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 }} |