diff options
| author | davidtsadler <davidtsadler@googlemail.com> | 2012-02-13 12:56:50 +0000 |
|---|---|---|
| committer | davidtsadler <davidtsadler@googlemail.com> | 2012-02-13 12:56:50 +0000 |
| commit | b6338bf4abfb17b24bf2db1f024eb942ed0c7c89 (patch) | |
| tree | 786c42679c56eb16420421905eaafe7cbbee4dcf /_site_build | |
| parent | fb704f101ebfdc9be4dcbf0558156c3c3899437b (diff) | |
Post categories not shown if category pages are not been generated.
Diffstat (limited to '_site_build')
| -rw-r--r-- | _site_build/_layouts/post.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 <header> <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 page.categories.size != 0 %} + {% if site.generate_category_indexes and page.categories.size != 0 %} <div class="categories">Posted in {{ page.categories | category_links }}</div> {% endif %} </header> |
