From 89ba1419b167eefefd080b481f169e2d9cb6dcb5 Mon Sep 17 00:00:00 2001 From: davidtsadler Date: Tue, 21 Feb 2012 16:09:13 +0000 Subject: Show comment counts. --- _site_build/_layouts/category_index.html | 1 + _site_build/_layouts/default.html | 2 +- _site_build/_layouts/post.html | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to '_site_build/_layouts') diff --git a/_site_build/_layouts/category_index.html b/_site_build/_layouts/category_index.html index 729ff2e..61a79a8 100644 --- a/_site_build/_layouts/category_index.html +++ b/_site_build/_layouts/category_index.html @@ -1,6 +1,7 @@ --- layout: default robots: follow, noindex, noodp, noydir, noarchive +show_comment_counts: true ---

{{ page.title }}

diff --git a/_site_build/_layouts/default.html b/_site_build/_layouts/default.html index 918cc1a..dfda26a 100644 --- a/_site_build/_layouts/default.html +++ b/_site_build/_layouts/default.html @@ -30,7 +30,7 @@ {% if site.production and site.google_ua %} {% include google_analytics.html %} {% endif %} -{% if page.comments and site.disqus_shortname %} +{% if (page.comments or page.show_comment_counts) and site.disqus_shortname %} {% include disqus.html %} {% endif %} 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

{{ page.title }}

{% if site.generate_category_indexes and page.categories.size != 0 %} -
Posted in {{ page.categories | category_links }}
+ | Posted in {{ page.categories | category_links }} + {% endif %} + {% if page.comments and site.disqus_shortname %} + | Comments {% endif %} {{ content }} -- cgit v1.2.3-13-gbd6f