Added disqus commenting to blog

This commit is contained in:
Paulus Schoutsen 2014-12-25 09:34:53 -08:00
parent 0d9fb09ff2
commit f3cc5e337b
7 changed files with 16 additions and 10 deletions

View file

@ -10,9 +10,10 @@
{% unless post.meta == false %}
<div class="meta clearfix">
{% include blog/post/date.html %}{{ time }}
{% include post/author.html %}
{% include blog/post/tags.html %}
{% if site.disqus_short_name and page.comments != false and post.comments != false and site.disqus_show_comment_count == true %}
<a class="pull-right" href="{% if index %}{{ site.url }}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread">
<a class="pull-right" href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread">
Comments <i class="icon-comment"></i>
</a>
{% endif %}