Added optional comment count for disqus, fixes #88
This commit is contained in:
parent
3dbc379caa
commit
b2828eb039
@ -6,7 +6,12 @@
|
||||
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
|
||||
{% endif %}
|
||||
{% unless page.meta == false %}
|
||||
<p class="meta">{% include post/date.html %}{{ time }}</p>
|
||||
<p class="meta">
|
||||
{% include post/date.html %}{{ time }}
|
||||
{% if site.disqus_short_name and page.comments != false and site.disqus_show_comment_count == true %}
|
||||
| <a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread">Comments</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endunless %}
|
||||
</header>
|
||||
{% endunless %}
|
||||
|
@ -76,6 +76,7 @@ delicious_count: 3
|
||||
|
||||
# Disqus Comments
|
||||
disqus_short_name:
|
||||
disqus_show_comment_count: false
|
||||
|
||||
# Google Analytics
|
||||
google_analytics_tracking_id:
|
||||
|
Loading…
Reference in New Issue
Block a user