Fixed broken disqus comment counters
This commit is contained in:
parent
989c21ef34
commit
1d9f4cb92b
3 changed files with 3 additions and 3 deletions
|
|
@ -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 }}
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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 }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue