Disqus ids can now be used to identify posts.

This commit is contained in:
Brandon Mathis 2012-09-30 16:41:43 -05:00
parent 340d9aea23
commit 7fbb696966

View File

@ -13,7 +13,8 @@
{% if index %}
<footer>
{% if site.disqus_short_name and page.comments != false and post.comments != false and site.disqus_show_comment_count == true %}
<p><a class="comments-link" href="{% if index %}{{ permalink }}{% endif %}#disqus_thread">View comments &raquo;</a></p>
<p><a class="comments-link" href="{% if index %}{{ permalink }}{% endif %}#disqus_thread" data-disqus-identifier="{% if post.disqus_id %}{{ post.disqus_id }}{% else %}{{ site.url }}{{ post.url }}{% endif %}">View comments &raquo;</a></p>
{% endif %}
{% if excerpted != 'false' %}
<p><a rel="full-article" href="{{ permalink }}">{{ site.excerpt_link }}</a></p>