theme/templates/categories.html

changeset 36
9507107a1133
equal deleted inserted replaced
35:bb011397a99c 36:9507107a1133
1 {% extends "base.html" %}
2
3 {% block title %}{{ SITENAME }} - Categories {% endblock %}
4
5
6
7 {% block content %}
8 <h1>Categories for {{ SITENAME }}</h1>
9 <ul class="tag-list">
10 {%- for category, articles in categories|sort %}
11 <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li>
12 {% endfor %}
13 </ul>
14 {% endblock %}
15
16 {% block footer %}
17 {% include 'credits.html' %}
18 {% endblock %}

mercurial