diff options
author | Tommy Chen <tommy351@gmail.com> | 2012-06-03 05:24:21 +0200 |
---|---|---|
committer | Tommy Chen <tommy351@gmail.com> | 2012-06-03 05:24:21 +0200 |
commit | 5bae43b46cd5dd399836f8e326ee128373c1a855 (patch) | |
tree | 2dec21fd6ebb05379a63cddfb7656599ab6b8a92 /source/_includes/post | |
parent | 175edf60a22b7cab43b02ac0897e254dd1ff544c (diff) | |
download | octopress-theme-jeyzu-5bae43b46cd5dd399836f8e326ee128373c1a855.zip octopress-theme-jeyzu-5bae43b46cd5dd399836f8e326ee128373c1a855.tar.gz |
simplify post
Diffstat (limited to 'source/_includes/post')
-rw-r--r-- | source/_includes/post/categories.html | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/source/_includes/post/categories.html b/source/_includes/post/categories.html index 2ec7896..8c1c81f 100644 --- a/source/_includes/post/categories.html +++ b/source/_includes/post/categories.html @@ -1,10 +1,8 @@ {% capture category %}{% if post %}{{ post.categories | category_links | size }}{% else %}{{ page.categories | category_links | size }}{% endif %}{% endcapture %} {% unless category == '0' %} -<div class="cat"> - {% if post %} - {{ post.categories | category_links }} - {% else %} - {{ page.categories | category_links }} - {% endif %} -</div> +{% if post %} + {{ post.categories | category_links }} +{% else %} + {{ page.categories | category_links }} +{% endif %} {% endunless %} |