diff options
author | SkyArrow <tommy351@gmail.com> | 2012-03-06 11:52:08 +0100 |
---|---|---|
committer | SkyArrow <tommy351@gmail.com> | 2012-03-06 11:52:08 +0100 |
commit | a69c7b4ac045bd53c84667cf4a4d7c0db33ff31a (patch) | |
tree | bc379f1c55e284b2e4b08b21fcbc6ead8cc943f4 /source | |
parent | 38d7ef85f2da46fa2d742469e870647c5651ed00 (diff) | |
download | octopress-theme-jeyzu-a69c7b4ac045bd53c84667cf4a4d7c0db33ff31a.zip octopress-theme-jeyzu-a69c7b4ac045bd53c84667cf4a4d7c0db33ff31a.tar.gz |
fix the number of comments in archives page is always 0 and un-clickable
Diffstat (limited to 'source')
-rw-r--r-- | source/_includes/archive_post.html | 2 | ||||
-rw-r--r-- | source/_includes/article.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/_includes/archive_post.html b/source/_includes/archive_post.html index 751d157..8ceae91 100644 --- a/source/_includes/archive_post.html +++ b/source/_includes/archive_post.html @@ -4,6 +4,6 @@ <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>
\ No newline at end of file diff --git a/source/_includes/article.html b/source/_includes/article.html index 0829616..a766bb7 100644 --- a/source/_includes/article.html +++ b/source/_includes/article.html @@ -9,7 +9,7 @@ <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 %} @@ -19,7 +19,7 @@ <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 %}
\ No newline at end of file |