diff options
author | m-r-r <raybaudroigm@gmail.com> | 2012-04-07 19:36:03 +0200 |
---|---|---|
committer | m-r-r <raybaudroigm@gmail.com> | 2012-04-07 19:36:03 +0200 |
commit | 261797ff47d96c47c3364110c100bf64701f7da5 (patch) | |
tree | 3242dd2ba40c67387cd5ac646d7831522eaad86b /dev-random/templates/categories.html | |
parent | a006f0a70f9e432908d97bd9ecdb37e4b8f5d328 (diff) | |
download | pelican-themes-261797ff47d96c47c3364110c100bf64701f7da5.tar.gz |
Added the dev-random theme
Diffstat (limited to 'dev-random/templates/categories.html')
-rw-r--r-- | dev-random/templates/categories.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-random/templates/categories.html b/dev-random/templates/categories.html new file mode 100644 index 0000000..ca9a7b1 --- /dev/null +++ b/dev-random/templates/categories.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block title %}{{ super() }} — Catégories{% endblock title %} + +{%- block content %} + <section id="page-content"> + <h1>Catégories</h1> + <ul id="category-list"> + {% for category, n in categories %} + <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ n|count }} articles)</li> + {% endfor %} + </ul> + </section> +{% endblock content -%} |