summaryrefslogtreecommitdiff
path: root/_site_build/_layouts/post.html
diff options
context:
space:
mode:
authordavidtsadler <davidtsadler@googlemail.com>2012-02-21 16:09:13 +0000
committerdavidtsadler <davidtsadler@googlemail.com>2012-02-21 16:09:13 +0000
commit89ba1419b167eefefd080b481f169e2d9cb6dcb5 (patch)
tree5ce85d128e290fe18814d3d645beeacbc0203790 /_site_build/_layouts/post.html
parent34f53553ac11079ccb6868999b7ccbacacdec49a (diff)
Show comment counts.
Diffstat (limited to '_site_build/_layouts/post.html')
-rw-r--r--_site_build/_layouts/post.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/_site_build/_layouts/post.html b/_site_build/_layouts/post.html
index f38b1ed..df3a342 100644
--- a/_site_build/_layouts/post.html
+++ b/_site_build/_layouts/post.html
@@ -6,7 +6,10 @@ layout: default
<h1>{{ page.title }}</h1>
<time datetime="{{ page.date | date: '%Y-%m-%d' }}" pubdate>{{ page.date | date: '%A' }} {{ page.date | ordinalize }} {{ page.date | date: '%B, %Y' }}</time>
{% if site.generate_category_indexes and page.categories.size != 0 %}
- <div class="categories">Posted in {{ page.categories | category_links }}</div>
+ <span class="categories"> | Posted in {{ page.categories | category_links }}</span>
+ {% endif %}
+ {% if page.comments and site.disqus_shortname %}
+ <span class="comment-count"> | <a href="{{ page.url }}#disqus_thread" data-disqus-identifier="{{ page.url }}">Comments</a></span>
{% endif %}
</header>
{{ content }}