site_opytex/theme/templates/categories.html

19 lines
441 B
HTML
Raw Permalink Normal View History

2019-07-18 10:43:36 +00:00
{% extends "base.html" %}
{% block title %} – {{ _('Categories') }}{% endblock %}
{% block content %}
<article class="single">
<header>
<h1>{{ _('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 %}