Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #499 from lukekarrys/patch-1

Don't display comments link for post excerpts on index page when comments for that post are set to false
  • Loading branch information...
commit c9d3b0e28889181b39e64482b1619a3caeed0d92 2 parents 8753a6b + 8b8fff3
@imathis imathis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  .themes/classic/source/_includes/article.html
View
2  .themes/classic/source/_includes/article.html
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.