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

github.com/dldx/hpstr-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDon Denton <don@happycollision.com>2015-12-26 10:10:46 +0300
committerDon Denton <don@happycollision.com>2015-12-26 10:10:46 +0300
commit41110a385efd6e8e658d339ee9dbce8b0c4cd3be (patch)
treea61145f3fe6a971d3b7146b9e0031adbb126ee1a
parentc05302a225c680db0bc213d4b38696a2cf233efa (diff)
And do the same for pages.
I didn’t realize that pages had the Disqus module as well…
-rw-r--r--_layouts/page.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_layouts/page.html b/_layouts/page.html
index a692417..f54c5db 100644
--- a/_layouts/page.html
+++ b/_layouts/page.html
@@ -42,7 +42,7 @@
{% if page.share != false %}{% include social-share.html %}{% endif %}
</footer>
</div><!-- /.entry-content -->
- {% if page.comments != false %}<section id="disqus_thread"></section><!-- /#disqus_thread -->{% endif %}
+ {% if page.comments != false and site.disqus_shortname %}<section id="disqus_thread"></section><!-- /#disqus_thread -->{% endif %}
</article>
</div><!-- /#main -->