From 497b725dab61fcd5af54e624b11ed355e2b612e6 Mon Sep 17 00:00:00 2001 From: Florian Preinstorfer Date: Fri, 10 Dec 2010 19:37:32 +0100 Subject: [PATCH 1/2] fixed a spelling error --- pelican/themes/notmyidea/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelican/themes/notmyidea/templates/index.html b/pelican/themes/notmyidea/templates/index.html index aa6f30ec..d01e9928 100644 --- a/pelican/themes/notmyidea/templates/index.html +++ b/pelican/themes/notmyidea/templates/index.html @@ -23,7 +23,7 @@ {% if loop.length > 1 %}
-

Others articles

+

Other articles


    {% endif %} From bdbba6bc6859d038c3d0d149f191684cc30845d6 Mon Sep 17 00:00:00 2001 From: Florian Preinstorfer Date: Fri, 10 Dec 2010 20:28:45 +0100 Subject: [PATCH 2/2] 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 %}