diff options
| author | davidtsadler <davidtsadler@googlemail.com> | 2012-01-14 19:25:54 +0000 |
|---|---|---|
| committer | davidtsadler <davidtsadler@googlemail.com> | 2012-01-14 19:25:54 +0000 |
| commit | d9e379d1e7d3e3f802d74bb15ded562ab13354e3 (patch) | |
| tree | daedd0cc2b2f69abb4e0c23a9b80d21f466df2a5 /_site_build/_layouts/post.html | |
| parent | bee356476f2932f69b05c0b1d8decd0e1843ff6b (diff) | |
Add categories for posts.
Diffstat (limited to '_site_build/_layouts/post.html')
| -rw-r--r-- | _site_build/_layouts/post.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/_site_build/_layouts/post.html b/_site_build/_layouts/post.html index e45ca24..61f0d09 100644 --- a/_site_build/_layouts/post.html +++ b/_site_build/_layouts/post.html @@ -5,6 +5,9 @@ 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 %} + <div class="categories">Posted in {{ page.categories | category_links }}</div> + {% endif %} </header> {{ content }} <footer> |
