diff options
author | Hans-Peter Oeri <hp@oeri.ch> | 2018-10-25 13:27:51 +0200 |
---|---|---|
committer | Hans-Peter Oeri <hp@oeri.ch> | 2018-10-25 13:27:51 +0200 |
commit | c8cfe63aac73a92ae02354a5306ca5480808daff (patch) | |
tree | 7bf3bcf334051dbf2f8d96981b8d199470064eac /theme/cccevents/templates/categories.html | |
parent | 17a536b7ffba296f1fc71337ce8aa2910f5ed3fc (diff) |
re-do site in schiedsstelle layout
Diffstat (limited to 'theme/cccevents/templates/categories.html')
-rw-r--r-- | theme/cccevents/templates/categories.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/theme/cccevents/templates/categories.html b/theme/cccevents/templates/categories.html new file mode 100644 index 0000000..78a7e70 --- /dev/null +++ b/theme/cccevents/templates/categories.html | |||
@@ -0,0 +1,15 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% block title %}{{ SITENAME }} - Categories{% endblock %} | ||
4 | |||
5 | {% block content_title %} | ||
6 | <h1>Categories for {{ SITENAME }}</h1> | ||
7 | {% endblock %} | ||
8 | |||
9 | {% block content %} | ||
10 | <ul> | ||
11 | {% for category, articles in categories %} | ||
12 | <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li> | ||
13 | {% endfor %} | ||
14 | </ul> | ||
15 | {% endblock %} | ||