flex/templates/categories.html

18 lines
403 B
HTML
Raw Normal View History

2015-07-19 02:04:01 +02:00
{% extends "base.html" %}
2015-07-21 05:53:19 +02:00
{% block title %} – Categories{% endblock %}
2015-07-19 02:04:01 +02:00
{% block content %}
<article>
<header>
2015-07-23 04:02:15 +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 %}