diff options
author | Brandon Mathis <brandon@imathis.com> | 2012-05-21 23:13:28 -0700 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2012-05-21 23:13:28 -0700 |
commit | c9d3b0e28889181b39e64482b1619a3caeed0d92 (patch) | |
tree | 1d767850cafcb9f35cc0283f88e34855f57ea3db /.themes/classic | |
parent | 8753a6b00cad6c4c822df79967c6d5a8fb41b4dd (diff) | |
parent | 8b8fff3b033318d9ae5d63ee73c065ee3a86ea89 (diff) | |
download | my_new_personal_website-c9d3b0e28889181b39e64482b1619a3caeed0d92.tar.xz my_new_personal_website-c9d3b0e28889181b39e64482b1619a3caeed0d92.zip |
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
Diffstat (limited to '')
-rw-r--r-- | .themes/classic/source/_includes/article.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.themes/classic/source/_includes/article.html b/.themes/classic/source/_includes/article.html index 9db07455..23f48844 100644 --- a/.themes/classic/source/_includes/article.html +++ b/.themes/classic/source/_includes/article.html @@ -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> |