diff options
author | Rafael Laboissière <rafael@laboissiere.net> | 2022-12-11 09:55:21 +0100 |
---|---|---|
committer | Rafael Laboissière <rafael@laboissiere.net> | 2022-12-11 09:55:21 +0100 |
commit | f08e56433fb2c92a9172787adcb33edee347bc7b (patch) | |
tree | a22469e241b12306d1fc6c766bcd82ebb74b5c7b /templates/categories.html | |
parent | 620ce27818a754dc9604d5a9344fa493cdf1241b (diff) |
Update for new upstream version (revision 3891)upstream
Diffstat (limited to 'templates/categories.html')
-rw-r--r-- | templates/categories.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/categories.html b/templates/categories.html new file mode 100644 index 0000000..07f6290 --- /dev/null +++ b/templates/categories.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Categories{% endblock %} + +{% block content %} + +<section id="content" class="body"> + <h1>Categories for {{ SITENAME }}</h1> + <ul> + {% for category, articles in categories|sort %} + <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li> + {% endfor %} + </ul> +</section> + +{% endblock %} |