Skip to content

Commit 1a666fa

Browse files
committed
Consider the site.disqus variable to decide whether import Disqus
1 parent 0c7cf03 commit 1a666fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}
8080
</nav>
8181
</footer>
8282

83-
{% if page.comments != false and jekyll.environment == "production" %}
83+
{% if page.comments != false and jekyll.environment == "production" and site.disqus %}
8484
{% include disqus.html %}
8585
{% endif %}
8686

0 commit comments

Comments
 (0)