Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

Commit

Permalink
Check for comments enabled before adding Disqus js.
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Dec 28, 2013
1 parent ce0745e commit 3acdca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h1><a href="{{ site.root_url }}/">{{ site.name }}</a></h1>
{% asset vendor/social-twitter %}
{% endif %}

{% if site.disqus %}
{% if page.comments and site.disqus %}
{% asset vendor/disqus %}
{% endif %}

Expand Down

0 comments on commit 3acdca5

Please sign in to comment.