diff options
author | Trey Hunner <treyhunner@gmail.com> | 2013-09-29 22:21:44 -0400 |
---|---|---|
committer | Parker Moore <parkrmoore@gmail.com> | 2013-09-29 22:22:00 -0400 |
commit | 4cc76820331b2b327c03d27216e79bc55a58c505 (patch) | |
tree | a50994ebdf3ed311184f9c54fad66f1a30efa144 /.themes/classic | |
parent | f0674c69366b9172e6811036bbc5b0a29dbf6025 (diff) | |
download | my_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')
-rw-r--r-- | .themes/classic/source/_includes/article.html | 3 |
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 %} |