aboutsummaryrefslogtreecommitdiffstats
path: root/uikit/templates/archives.html
diff options
context:
space:
mode:
Diffstat (limited to 'uikit/templates/archives.html')
-rw-r--r--uikit/templates/archives.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/uikit/templates/archives.html b/uikit/templates/archives.html
new file mode 100644
index 0000000..5537bd6
--- /dev/null
+++ b/uikit/templates/archives.html
@@ -0,0 +1,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 %}