Don't display comments link for post excerpts on index page when comments for that post are set to false

This commit is contained in:
Luke Karrys 2012-02-14 22:55:43 -07:00
parent 4fe0cbeb20
commit 12138d2951

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>