Skip to content

Commit

Permalink
Add proper disqus identifier comment count links
Browse files Browse the repository at this point in the history
  • Loading branch information
treyhunner authored and parkr committed Sep 30, 2013
1 parent f0674c6 commit 4cc7682
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .themes/classic/source/_includes/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ <h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% el
<p class="meta">
{% include post/date.html %}{{ time }}
{% 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"
data-disqus-identifier="{% if post.meta.disqus_id %}{{ post.meta.disqus_id }}{% else %}{{ site.url }}{{ post.url }}{% endif %}">Comments</a>
{% endif %}
</p>
{% endunless %}
Expand Down

0 comments on commit 4cc7682

Please sign in to comment.