flex/templates/categories.html
2023-04-01 00:32:10 +02:00

20 lines
458 B
HTML

{% extends "base.html" %}
{% block title %} – {{ _('Categories') }}{% endblock %}
{% block content %}
<article>
<header>
<h1 id="categories">{{ _('Categories') }}</h1>
</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 %}