Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Merged
merged 1 commit into from

2 participants

@lukekarrys

This is the same as pull request 425 which was merged into the site branch. This is the same change into the master branch.

@imathis imathis merged commit c9d3b0e into imathis:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 23, 2012
  1. @lukekarrys

    Don't display comments link for post excerpts on index page when comm…

    lukekarrys authored
    …ents for that post are set to false.
This page is out of date. Refresh to see the latest.
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>
Something went wrong with that request. Please try again.