flex/templates/categories.html
2016-07-30 14:34:54 +02:00

17 lines
453 B
HTML

{% extends "base.html" %}
{% block title %} – {% trans %}Categories{% endtrans %}{% endblock %}
{% block content %}
<article>
<header>
<h1>{% trans %}Categories{% endtrans %}</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 %}