Fixed broken disqus comment counters

This commit is contained in:
Panos Sakkos 2015-07-06 00:26:34 +02:00
parent 989c21ef34
commit 1d9f4cb92b
3 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@
{{ page.content | markdownify }}
{% assign post = site.posts.first %}
<h4><strong>{{ post.date | date_to_string }}</strong> <small>. {{ post.category }} .</small> <a href="{{ post.url }}"> <strong>{{ post.title }} </a> </strong> <small><a href="{{ post.url }}#disqus_thread">Comments</a></small></h4>
<h4><strong>{{ post.date | date_to_string }}</strong> <small>. {{ post.category }} .</small> <a href="{{ post.url }}"> <strong>{{ post.title }} </a> </strong> <small><a href="{{ site.url }}{{ post.url }}#disqus_thread">Comments</a></small></h4>
{{ post.content | truncatewords: site.post-preview-words | markdownify }}

View file

@ -14,7 +14,7 @@
{{ page.content | markdownify }}
{% for post in site.posts %}
<h4><strong>{{ post.date | date_to_string }}</strong> <small>. {{ post.category }} .</small> <a href="{{ post.url }}"> <strong>{{ post.title }} </a> </strong> <small><a href="{{ post.url }}#disqus_thread">Comments</a></small></h4>
<h4><strong>{{ post.date | date_to_string }}</strong> <small>. {{ post.category }} .</small> <a href="{{ post.url }}"> <strong>{{ post.title }} </a> </strong> <small><a href="{{ site.url }}{{post.url }}#disqus_thread">Comments</a></small></h4>
{% endfor %}
</div>

View file

@ -12,7 +12,7 @@
<div class="col-lg-8 col-lg-offset-2">
<h1><strong>{{ page.title }}</strong></h1>
<h4><strong>{{ page.date | date_to_string }}</strong><small> . {{ page.category }} . <a href="{{ page.url }}#disqus_thread">Comments</a></small></h4>
<h4><strong>{{ page.date | date_to_string }}</strong><small> . {{ page.category }} . <a href="{{ site.url }}{{ page.url }}#disqus_thread">Comments</a></small></h4>
{{ page.content | markdownify }}