Merge pull request #425 from lukekarrys/patch-1

Comments link still visible on home page for excerpts even when comments for that post are set to false
This commit is contained in:
Brandon Mathis 2012-02-19 11:27:58 -08:00
commit 3f7c2c6033

View File

@ -8,7 +8,7 @@
{% unless page.meta == false %}
<p class="meta">
{% include post/date.html %}{{ time }}
{% if site.disqus_short_name and page.comments != false and site.disqus_show_comment_count == true %}
{% if site.disqus_short_name and page.comments != false and post.comments != false and site.disqus_show_comment_count == true %}
| <a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread">Comments</a>
{% endif %}
</p>