theme/templates/categories.html

Sat, 09 Oct 2021 16:52:19 +0200

author
David Douard <david.douard@sdfa3.org>
date
Sat, 09 Oct 2021 16:52:19 +0200
changeset 137
f3070bd842cd
parent 36
9507107a1133
permissions
-rw-r--r--

HP34970A - part 6

{% extends "base.html" %}

{% block title %}{{ SITENAME }} - Categories {% endblock %}



{% block content %}
    <h1>Categories for {{ SITENAME }}</h1>
    <ul class="tag-list">
    {%- for category, articles in categories|sort %}
        <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li>
    {% endfor %}
    </ul>
{% endblock %}

{% block footer %}
{% include 'credits.html' %}
{% endblock %} 

mercurial