summaryrefslogtreecommitdiff
path: root/theme/templates/categories.html
diff options
context:
space:
mode:
authorChimrod <contact+git@chimrod.com>2013-04-16 21:27:30 +0200
committerChimrod <contact+git@chimrod.com>2013-04-16 21:27:30 +0200
commit66a5a0cdccd464930a232c87f91e1b0805f255a5 (patch)
tree1563108cc22cfdc250108eb25b3beaf51d398dff /theme/templates/categories.html
initial commit
Diffstat (limited to 'theme/templates/categories.html')
-rwxr-xr-xtheme/templates/categories.html17
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 %}