aboutsummaryrefslogtreecommitdiffstats
path: root/lightweight/templates/archives.html
diff options
context:
space:
mode:
authorskami <skami@skami-laptop.dyndns.org>2011-02-14 15:51:21 +0100
committerskami <skami@skami-laptop.dyndns.org>2011-02-14 15:51:21 +0100
commit6bdd8eff6061abfef995042a189ea5fd1e1a2e94 (patch)
treec4b20179ec23bfc8b6263ff0ad9fe7951ef1cc9c /lightweight/templates/archives.html
parent7611f3de376ba45fc37c7fdab3a37ab250f8da1b (diff)
downloadpelican-themes-6bdd8eff6061abfef995042a189ea5fd1e1a2e94.zip
pelican-themes-6bdd8eff6061abfef995042a189ea5fd1e1a2e94.tar.gz
pelican-themes-6bdd8eff6061abfef995042a189ea5fd1e1a2e94.tar.bz2
Thème terminé - décidemment, j'ai du mal avec GIT!
Diffstat (limited to 'lightweight/templates/archives.html')
-rw-r--r--lightweight/templates/archives.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/lightweight/templates/archives.html b/lightweight/templates/archives.html
index e69de29..4d6234f 100644
--- a/lightweight/templates/archives.html
+++ b/lightweight/templates/archives.html
@@ -0,0 +1,21 @@
+{% extends "base.html" %}
+
+{%block title %}{{ SITENAME }} - Archives{%endblock%}
+
+{% block content %}
+ <h2 class="page_title">Archives</h1>
+ <table id="archives">
+ <tbody>
+ <tr>
+ <th>Date</th>
+ <th>Article</th>
+ </tr>
+ {% for article in dates %}
+ <tr>
+ <td>{{ article.date.strftime(DEFAULT_DATE_FORMAT or '%a %d %B %Y') }}</td>
+ <td><a href='{{ article.url }}'>{{ article.title }}</a></td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ </table>
+{% endblock %}