aboutsummaryrefslogtreecommitdiffstats
path: root/notmyidea-cms/templates/archives.html
diff options
context:
space:
mode:
authorskami <skami@skami-laptop.dyndns.org>2011-02-09 14:15:30 +0100
committerskami <skami@skami-laptop.dyndns.org>2011-02-09 14:15:30 +0100
commit16c52c7b84ece3d48fa62022867072b11ad473db (patch)
treedc0b50ee06d80c1b76146f37944a61187f901298 /notmyidea-cms/templates/archives.html
parent869840185624149e701685ef8021a6d3d46fff3b (diff)
downloadpelican-themes-16c52c7b84ece3d48fa62022867072b11ad473db.tar.gz
Adding «notmyidea-cms», a modified version of «notmyidea» for complete
websites...
Diffstat (limited to 'notmyidea-cms/templates/archives.html')
-rw-r--r--notmyidea-cms/templates/archives.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/notmyidea-cms/templates/archives.html b/notmyidea-cms/templates/archives.html
new file mode 100644
index 0000000..1644aff
--- /dev/null
+++ b/notmyidea-cms/templates/archives.html
@@ -0,0 +1,13 @@
+{% extends "base.html" %}
+{% block content %}
+<section id="content" class="body">
+<h1>Archives for {{ SITENAME }}</h1>
+
+<dl>
+{% for article in dates %}
+ <dt>{{ article.date.strftime('%a %d %B %Y') }}</dt>
+ <dd><a href='{{ article.url }}'>{{ article.title }}</a></dd>
+{% endfor %}
+</dl>
+</section>
+{% endblock %}