{% extends 'weblog/base.html' %} {% load recurse %} {% load weblog_extras %} {% block title %}{{ block.super }} » Category » {{ category }}{% endblock %} {% block extra_head %}{% endblock %} {% block content %}

Category {{ category.name }}
 

{% if category.description %}

{{ category.description|safe }}

{% endif %}

Subcategories:

{% for subcats in category.subcategories.all %} {% recurse category.subcategories.all with subcats as category %} {% loop %}
{{ category.name }} ({% post_count category=category %})
{{ category.description|safe }}
{% child %}
{% endloop %} {% endrecurse %} {% empty %}
None
{% endfor %}
{% category_posts category as posts %} {% for post in posts %} {% include 'weblog/_post_body.html' %} {% endfor %} {% endblock content %}