Skip to content

Commit

Permalink
fix the number of comments in archives page is always 0 and un-clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy351 committed Mar 6, 2012
1 parent 38d7ef8 commit a69c7b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/_includes/archive_post.html
Expand Up @@ -4,6 +4,6 @@ <h1 class="title"><a href="{{ root_url }}{{ post.url }}">{{post.title}}</a></h1>
<span class="date">{{ post.date | date: "%b %e" }}</span>
<span class="tags">{% include post/categories.html %}</span>
{% if site.disqus_short_name and post.comments == true %}
<span class="comments"><a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread">Comments</a></span>
<span class="comments"><a href="{{ root_url }}{{ post.url }}#disqus_thread">Comments</a></span>
{% endif %}
</div>
4 changes: 2 additions & 2 deletions source/_includes/article.html
Expand Up @@ -9,7 +9,7 @@ <h1 class="title"><a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}
<div class="date">{% include post/date.html %}{{ time }}</div>
<div class="tags">{% include post/categories.html %}</div>
{% if site.disqus_short_name and post.comments == true and site.disqus_show_comment_count == true %}
<div class="comments"><a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread">Comments</a></div>
<span class="comments"><a href="{{ root_url }}{{ post.url }}#disqus_thread">Comments</a></span>
{% endif %}
</div>
{% else %}
Expand All @@ -19,7 +19,7 @@ <h1 class="title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{
<div class="date">{% include post/date.html %}{{ time }}</div>
<div class="tags">{% include post/categories.html %}</div>
{% if site.disqus_short_name and page.comments == true and site.disqus_show_comment_count == true %}
<div class="comments"><a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread">Comments</a></div>
<span class="comments"><a href="{{ root_url }}{{ post.url }}#disqus_thread">Comments</a></span>
{% endif %}
</div>
{% endif %}

0 comments on commit a69c7b4

Please sign in to comment.