diff options
author | Don Denton <don@happycollision.com> | 2015-12-26 10:10:46 +0300 |
---|---|---|
committer | Don Denton <don@happycollision.com> | 2015-12-26 10:10:46 +0300 |
commit | 41110a385efd6e8e658d339ee9dbce8b0c4cd3be (patch) | |
tree | a61145f3fe6a971d3b7146b9e0031adbb126ee1a | |
parent | c05302a225c680db0bc213d4b38696a2cf233efa (diff) |
And do the same for pages.
I didn’t realize that pages had the Disqus module as well…
-rw-r--r-- | _layouts/page.html | 2 |
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 --> |