mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-11-16 06:15:13 -05:00
Don't display comments link for post excerpts on index page when comments for that post are set to false.
This commit is contained in:
parent
9f40242b1e
commit
8b8fff3b03
@ -8,7 +8,7 @@
|
|||||||
{% unless page.meta == false %}
|
{% unless page.meta == false %}
|
||||||
<p class="meta">
|
<p class="meta">
|
||||||
{% include post/date.html %}{{ time }}
|
{% 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>
|
| <a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread">Comments</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user