aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/_includes
diff options
context:
space:
mode:
authorTrey Hunner <treyhunner@gmail.com>2013-09-29 22:21:44 -0400
committerParker Moore <parkrmoore@gmail.com>2013-09-29 22:22:00 -0400
commit4cc76820331b2b327c03d27216e79bc55a58c505 (patch)
treea50994ebdf3ed311184f9c54fad66f1a30efa144 /.themes/classic/source/_includes
parentf0674c69366b9172e6811036bbc5b0a29dbf6025 (diff)
downloadmy_new_personal_website-4cc76820331b2b327c03d27216e79bc55a58c505.tar.xz
my_new_personal_website-4cc76820331b2b327c03d27216e79bc55a58c505.zip
Add proper disqus identifier comment count links
Fixes #277
Diffstat (limited to '.themes/classic/source/_includes')
-rw-r--r--.themes/classic/source/_includes/article.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/.themes/classic/source/_includes/article.html b/.themes/classic/source/_includes/article.html
index 23f48844..84279977 100644
--- a/.themes/classic/source/_includes/article.html
+++ b/.themes/classic/source/_includes/article.html
@@ -9,7 +9,8 @@
<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 %}