2014-05-28 23:54:52 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
2017-11-21 09:17:33 +01:00
|
|
|
Categories {{ super() }}
|
2016-11-06 20:32:20 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block page_header %}
|
2017-11-21 09:17:33 +01:00
|
|
|
Categories
|
2014-05-28 23:54:52 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2017-11-21 09:17:33 +01:00
|
|
|
<table class="table table-bordered table-striped">
|
|
|
|
{% for category, articles in categories|sort %}
|
|
|
|
<tr>
|
|
|
|
<td><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></td>
|
|
|
|
<td>{{ articles|count }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
2014-05-28 23:54:52 +02:00
|
|
|
{% endblock %}
|