fixed disqus comment counters
This commit is contained in:
parent
d0fc35813d
commit
6a6219d206
3 changed files with 13 additions and 7 deletions
|
|
@ -8,7 +8,7 @@
|
|||
{% 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="{{ site.url }}{{ post.url }}#disqus_thread">Comments</a></small>
|
||||
<small><a href="{{ 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 align="left"><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>
|
||||
<h4 align="left"><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>
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -12,11 +12,17 @@
|
|||
<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="{{ site.url }}{{ page.url }}#disqus_thread">Comments</a></small></h4>
|
||||
<h4><strong>{{ page.date | date_to_string }}</strong>
|
||||
<small> . {{ page.category }} . <a href="{{ page.url }}#disqus_thread">Comments</a><p/>
|
||||
{% for tag in page.tags %}
|
||||
<a href="/tags/{{tag}}.html">#{{ tag }}</a>
|
||||
{% endfor %}
|
||||
</small>
|
||||
</h4>
|
||||
|
||||
{{ page.content | markdownify }}
|
||||
{{ page.content | markdownify }}
|
||||
|
||||
{% include share.html %}
|
||||
{% include share.html %}
|
||||
|
||||
{% include comments.html %}
|
||||
|
||||
|
|
@ -31,10 +37,10 @@
|
|||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
{% include footer.html %}
|
||||
|
||||
{% include js.html %}
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue