Skip to content

Commit

Permalink
Don't display comments link for post excerpts on index page when comm…
Browse files Browse the repository at this point in the history
…ents for that post are set to false.
  • Loading branch information
lukekarrys committed Mar 23, 2012
1 parent 9f40242 commit 8b8fff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .themes/classic/source/_includes/article.html
Expand Up @@ -8,7 +8,7 @@ <h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% el
{% 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>
Expand Down

0 comments on commit 8b8fff3

Please sign in to comment.