From 0891e0146f0dcf9e6db7ccce4376114c339fa5df Mon Sep 17 00:00:00 2001 From: Audric Schiltknecht Date: Fri, 9 May 2014 12:13:44 +0200 Subject: Import du thème 'dev-random2' pour modifications MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/dev-urandom/templates/archives.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 themes/dev-urandom/templates/archives.html (limited to 'themes/dev-urandom/templates/archives.html') diff --git a/themes/dev-urandom/templates/archives.html b/themes/dev-urandom/templates/archives.html new file mode 100644 index 0000000..47bf2ab --- /dev/null +++ b/themes/dev-urandom/templates/archives.html @@ -0,0 +1,29 @@ +{% extends "base.html" %} + +{% block content_title %}{{ SITENAME }} — Archives{% endblock %} + +{%- block content %} +

Archives

+
+ {% for article in articles %} + {% if loop.first or article.date.strftime('%Y %m') != articles[loop.index0-1].date.strftime('%Y %m') %} +
+

{{ article.date.strftime('%B %Y') }}

+
    + {% endif %} + +
  • + + {{ article.title }} + +
  • + + {% if loop.last or article.date.strftime('%Y %m') != articles[loop.index0+1].date.strftime('%Y %m') %} +
+
+ {% endif %} + {% endfor %} +
+{% endblock content -%} -- cgit v1.2.3-70-g09d2