From bdbba6bc6859d038c3d0d149f191684cc30845d6 Mon Sep 17 00:00:00 2001 From: Florian Preinstorfer Date: Fri, 10 Dec 2010 20:28:45 +0100 Subject: [PATCH] fixed generation of archive.html (template simple) -just one loop needed -same date format as in index.html (template simple) --- pelican/themes/simple/templates/archives.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pelican/themes/simple/templates/archives.html b/pelican/themes/simple/templates/archives.html index 9414f5be..17877390 100644 --- a/pelican/themes/simple/templates/archives.html +++ b/pelican/themes/simple/templates/archives.html @@ -3,11 +3,9 @@

Archives for {{ SITENAME }}

-{% for date, articles in dates %} - {% for article in articles %} -
{{ date }}
-
{{ article.title }}
- {% endfor %} +{% for article in dates %} +
{{ article.date.strftime('%Y-%m-%d %H:%M') }}
+
{{ article.title }}
{% endfor %}
{% endblock %}