diff options
Diffstat (limited to 'aboutwilson/templates/archives.html')
-rw-r--r-- | aboutwilson/templates/archives.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/aboutwilson/templates/archives.html b/aboutwilson/templates/archives.html new file mode 100644 index 0000000..2078a6c --- /dev/null +++ b/aboutwilson/templates/archives.html @@ -0,0 +1,20 @@ +{% extends "base.html" %} +{% block description %}The archives page, find old stuff organized by date.{% endblock %} +{% block title %}Archive — {{ SITENAME }}{% endblock %} +{% block content %} + +<h1>Archives</h1> + +<table class="table"> + <tbody> + {% for article in dates %} + <tr> + <td>{{ article.date.strftime("%d %b %Y") }}</td> + <td><a href='{{ SITEURL }}/{{ article.url }}'>{{ article.title }}</a></td> + </tr> + {% endfor %} + </tbody> +</table> + + +{% endblock %} |