{% extends "base.html" %} {% load placeholder placeholder_tags %} {% block title %}{{ block.super }}: {% if category.parent %}{{ category.parent.title }}: {% endif %}{{ category.title }}{% endblock %} {% block content %} {% get_placeholder category.top inherit as top %} {% get_placeholder category.bottom as bottom %} {% if top %}
{{ top }}
{% endif %}

{{ category.title }}

{{ category.body|linebreaks }}
{% if category.children.all %} {% for category in category.children.select_related.all %}

{{ category.title }}

{{ category.body|linebreaks }}
{% endfor %} {% else %} {% endif %} {% if bottom %}
{{ bottom }}
{% endif %} {% endblock %}