aboutsummaryrefslogtreecommitdiffstats
path: root/aboutwilson/templates/archives.html
diff options
context:
space:
mode:
authorwilsonfreitas <wilson.freitas@gmail.com>2014-08-13 08:49:52 -0300
committerwilsonfreitas <wilson.freitas@gmail.com>2014-08-13 08:49:52 -0300
commitd404e2fe5b8c57c473c6250b8decbf5ac5b45e64 (patch)
treed2c21b808e1244f010396b5f40d57f66b9036564 /aboutwilson/templates/archives.html
parentd977b524fddbeddd06374c85a070c54110c76a14 (diff)
downloadpelican-themes-d404e2fe5b8c57c473c6250b8decbf5ac5b45e64.tar.gz
Added new theme aboutwilson
Diffstat (limited to 'aboutwilson/templates/archives.html')
-rw-r--r--aboutwilson/templates/archives.html20
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 %}