diff options
Diffstat (limited to 'theme/templates/categories.html')
-rwxr-xr-x | theme/templates/categories.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/theme/templates/categories.html b/theme/templates/categories.html new file mode 100755 index 0000000..0cd25d4 --- /dev/null +++ b/theme/templates/categories.html @@ -0,0 +1,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 %} |