aboutsummaryrefslogtreecommitdiffstats
path: root/uikit/templates/archives.html
blob: 5537bd632634abdf6e4f8c711cfda98b430d7f3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{% extends "index.html" %}
{% import 'html_macros.html' as html_macros %}

{% block head %}
{{ super() }}
{% endblock head %}
{% block titlename %}{{'all articles'|capitalize}}{% endblock titlename %}

{% block content %}
{% block heading %}

<h1>{{["archives for", SITENAME]|join(' ')|capitalize}}</h1>

<ul>
{% for article in articles|sort(reverse=True,attribute='date') %}
    <li><a class="{% if CAPITALIZE_HEADINGS %}capitalize{% endif %}" href="/{{ article.url }}">{{ article.title }}</a></li>
{% endfor %}
</ul>
{% endblock heading %}
{% endblock content %}