2015-07-19 02:04:01 +02:00
|
|
|
{% extends "base.html" %}
|
2017-04-22 08:41:39 +02:00
|
|
|
|
2016-08-10 19:28:32 +02:00
|
|
|
{% block title %} – {{ _('Categories') }}{% endblock %}
|
2015-07-19 02:04:01 +02:00
|
|
|
|
|
|
|
{% block content %}
|
2016-09-14 05:04:22 +02:00
|
|
|
<article class="single">
|
2015-07-19 02:04:01 +02:00
|
|
|
<header>
|
2016-08-10 19:28:32 +02:00
|
|
|
<h1>{{ _('Categories') }}</h1>
|
2015-07-19 02:04:01 +02:00
|
|
|
</header>
|
|
|
|
<div>
|
|
|
|
<ul class="list">
|
|
|
|
{% for category, articles in categories|sort %}
|
|
|
|
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
{% endblock %}
|