Wed, 11 Apr 2018 23:17:04 +0200
[hp8662a] typo
36
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
1 | {% extends "base.html" %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
2 | |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
3 | {% block title %}{{ SITENAME }} - Categories {% endblock %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
4 | |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
5 | |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
6 | |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
7 | {% block content %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
8 | <h1>Categories for {{ SITENAME }}</h1> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
9 | <ul class="tag-list"> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
10 | {%- for category, articles in categories|sort %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
11 | <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
12 | {% endfor %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
13 | </ul> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
14 | {% endblock %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
15 | |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
16 | {% block footer %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
17 | {% include 'credits.html' %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
18 | {% endblock %} |