aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/categories.html
blob: b63eef8b4bcb5b44254306bf9f2f27b797c7ab26 (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.format(slug=category) }}" ><img src="theme/images/rss.png" /></a>
  {% endif %}
  </li>
{% endfor %}
</ul>
{% endblock %}