aboutsummaryrefslogtreecommitdiffstats
path: root/dev-random2/templates/categories.html
diff options
context:
space:
mode:
authorm-r-r <raybaudroigm@gmail.com>2012-07-26 15:01:23 +0200
committerm-r-r <raybaudroigm@gmail.com>2012-07-26 15:01:23 +0200
commitc55d10de9c103e2c023ef1f40f4f4c0502570e69 (patch)
tree60525471c4c5386b00f8707c4d3d060f2b31cf43 /dev-random2/templates/categories.html
parent98f0d46f2bbddf86e8d202b533af35fa79da2d2f (diff)
downloadpelican-themes-c55d10de9c103e2c023ef1f40f4f4c0502570e69.tar.gz
[dev-random2] Theme upgrade
Diffstat (limited to 'dev-random2/templates/categories.html')
-rw-r--r--dev-random2/templates/categories.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-random2/templates/categories.html b/dev-random2/templates/categories.html
new file mode 100644
index 0000000..0a5b0f4
--- /dev/null
+++ b/dev-random2/templates/categories.html
@@ -0,0 +1,14 @@
+{% extends "base.html" %}
+
+{% block title %}{{ super() }} — Catégories{% endblock title %}
+
+{%- block content %}
+ <section class="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 -%}