From b6338bf4abfb17b24bf2db1f024eb942ed0c7c89 Mon Sep 17 00:00:00 2001 From: davidtsadler Date: Mon, 13 Feb 2012 12:56:50 +0000 Subject: Post categories not shown if category pages are not been generated. --- _site_build/_layouts/post.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_site_build') diff --git a/_site_build/_layouts/post.html b/_site_build/_layouts/post.html index 61f0d09..a435a70 100644 --- a/_site_build/_layouts/post.html +++ b/_site_build/_layouts/post.html @@ -5,7 +5,7 @@ layout: default

{{ page.title }}

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