aboutsummaryrefslogtreecommitdiffstats
path: root/uikit/templates/period_archives.html
diff options
context:
space:
mode:
Diffstat (limited to 'uikit/templates/period_archives.html')
-rw-r--r--uikit/templates/period_archives.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/uikit/templates/period_archives.html b/uikit/templates/period_archives.html
new file mode 100644
index 0000000..d134562
--- /dev/null
+++ b/uikit/templates/period_archives.html
@@ -0,0 +1,25 @@
+{% 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 %}
+<ul>
+{% for article in articles|sort(reverse=True,attribute='date') %}
+{% endfor %}
+</ul>
+
+
+<h1>Archives for {{ period | reverse | join(' ') }}</h1>
+
+<ul>
+{% for article in dates %}
+<li>{{ article.locale_date }} <a class="{% if CAPITALIZE_HEADINGS %}capitalize{% endif %}" href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></li>
+{% endfor %}
+</ul>
+{% endblock heading %}
+{% endblock content %}