theme/templates/categories.html

Fri, 20 Apr 2018 01:11:16 +0200

author
David Douard <david.douard@logilab.fr>
date
Fri, 20 Apr 2018 01:11:16 +0200
changeset 101
4a94e81bff74
parent 36
9507107a1133
permissions
-rw-r--r--

[hp8662a] part 3: fixing error 04 and unlocked loops

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