android.moparisthebest.org/source/_includes/post/categories.html

11 lines
371 B
HTML
Raw Normal View History

2011-07-19 22:28:48 -04:00
{% capture category %}{% if post %}{{ post.categories | category_links | size }}{% else %}{{ page.categories | category_links | size }}{% endif %}{% endcapture %}
{% unless category == '0' %}
<span class="categories">
{% if post %}
{{ post.categories | category_links }}
{% else %}
{{ page.categories | category_links }}
{% endif %}
</span>
{% endunless %}