after-dark/templates/categories/list.html
2018-09-20 23:44:40 -07:00

19 lines
439 B
HTML

{% extends "index.html" %}
{% block content %}
{% block header %}
{{ super() }}
{% endblock header %}
<h1>Categories</h1>
{% if terms %}
<ul>
{% for term in terms %}
<li>
<a href="{{ term.permalink | safe }}">{{ term.name }}</a>({{ term.pages | length }})
</li>
{% endfor %}
</ul>
{% endif %}
{% endblock content %}