flex/templates/categories.html
Fidel Ramos c11530bbe2
Add id attribute to categories and tags pages
This allows linking to these pages below the fold.
2019-10-19 17:18:14 +00:00

18 lines
457 B
HTML

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