otmp_site/templates/categories/list.html

16 lines
364 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% block header %}
<p><a href="{{ current_path }}..">..</a>{{ current_path }}</p>
<h1>{{ taxonomy.name }}</h1>
{% endblock header %}
{% block content %}
<ul>
{% for term in terms %}
<li>
<a href="{{ term.permalink | safe }}">{{ term.name }}</a> [{{ term.pages | length }}]
</li>
{% endfor %}
</ul>
{% endblock content %}