Skip to content

Commit c9d3b0e

Browse files
committed
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
2 parents 8753a6b + 8b8fff3 commit c9d3b0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.themes/classic/source/_includes/article.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% el
88
{% unless page.meta == false %}
99
<p class="meta">
1010
{% include post/date.html %}{{ time }}
11-
{% if site.disqus_short_name and page.comments != false and site.disqus_show_comment_count == true %}
11+
{% if site.disqus_short_name and page.comments != false and post.comments != false and site.disqus_show_comment_count == true %}
1212
| <a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread">Comments</a>
1313
{% endif %}
1414
</p>

0 commit comments

Comments
 (0)