diff options
author | vimux <vimux@protonmail.com> | 2020-01-09 20:07:19 +0300 |
---|---|---|
committer | vimux <vimux@protonmail.com> | 2020-01-09 20:15:37 +0300 |
commit | f4735db2aec9803f6b0587d8dd78f44d5acbbd6e (patch) | |
tree | 92181fe0669839790f92894cf0277053dfa3199e | |
parent | ec3b9b84d464077f75236a9f4219078a2890cefb (diff) |
Don't create empty div w/o comments
-rw-r--r-- | layouts/_default/single.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 525129b..55b7c30 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -15,9 +15,11 @@ </ul> </div> {{ end }} + {{ with .Site.DisqusShortname }} <div> {{ template "_internal/disqus.html" . }} </div> + {{ end }} </article> </main> {{ partial "sidebar.html" . }} |