diff options
author | Luke Karrys <lukekarrys@gmail.com> | 2012-03-23 13:06:01 -0700 |
---|---|---|
committer | Luke Karrys <lukekarrys@gmail.com> | 2012-03-23 13:06:01 -0700 |
commit | 8b8fff3b033318d9ae5d63ee73c065ee3a86ea89 (patch) | |
tree | 1d39dba6f7b8d3170b3cdb8e7a0b10b816f3ac25 | |
parent | 9f40242b1e7eb0098f0ef3c508c7bed7e647b982 (diff) | |
download | my_new_personal_website-8b8fff3b033318d9ae5d63ee73c065ee3a86ea89.tar.xz my_new_personal_website-8b8fff3b033318d9ae5d63ee73c065ee3a86ea89.zip |
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> |