aboutsummaryrefslogtreecommitdiffstats
path: root/dev-random/templates/categories.html
blob: ca9a7b19bb9bfaecba0c76fe6e619ad4ab71410f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{% extends "base.html" %}

{% block title %}{{ super() }} — Catégories{% endblock title %}

{%- block content %}
    <section id="page-content">
      <h1>Catégories</h1>
      <ul id="category-list">
      {% for category, n in categories %}
      <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ n|count }} articles)</li>
      {% endfor %}
      </ul>
    </section>
{% endblock content -%}