flex/templates/categories.html

21 lines
458 B
HTML
Raw Normal View History

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