aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/categories.html
blob: 0cd25d4daf2d4985760e19372aa61134d497cb17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{% extends "base.html" %}

{% block title %}{{ SITENAME }} - Catégories{% endblock %}

{% block content %}
<h2 class="page_title">Liste des catégories</h2>
<ul>
{% for category, articles in categories %}
  <li>
  <a href="{{ category.url }}">{{ category }}</a> ({{ articles|count }})
  {% if CATEGORY_FEED_RSS %}
  <a href="{{ SITEURL }}/{{ CATEGORY_FEED_RSS % category }}" ><img src="theme/images/rss.png" /></a>
  {% endif %}
  </li>
{% endfor %}
</ul>
{% endblock %}