theme/templates/categories.html

Thu, 05 Nov 2020 23:28:39 +0100

author
David Douard <david.douard@sdf3.org>
date
Thu, 05 Nov 2020 23:28:39 +0100
changeset 129
42a19a0d1c99
parent 36
9507107a1133
permissions
-rw-r--r--

Add a few missing :alt: to images

far from being done everywhere however...

{% 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