Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vimux/blank.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimux <vimux@protonmail.com>2020-01-09 20:07:19 +0300
committervimux <vimux@protonmail.com>2020-01-09 20:15:37 +0300
commitf4735db2aec9803f6b0587d8dd78f44d5acbbd6e (patch)
tree92181fe0669839790f92894cf0277053dfa3199e
parentec3b9b84d464077f75236a9f4219078a2890cefb (diff)
Don't create empty div w/o comments
-rw-r--r--layouts/_default/single.html2
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" . }}