diff options
author | Chimrod <contact+git@chimrod.com> | 2013-04-16 21:27:30 +0200 |
---|---|---|
committer | Chimrod <contact+git@chimrod.com> | 2013-04-16 21:27:30 +0200 |
commit | 66a5a0cdccd464930a232c87f91e1b0805f255a5 (patch) | |
tree | 1563108cc22cfdc250108eb25b3beaf51d398dff /theme/templates/categories.html |
initial commit
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 %} |