aboutsummaryrefslogtreecommitdiffstats
path: root/dev-random
diff options
context:
space:
mode:
authorm-r-r <raybaudroigm@gmail.com>2012-04-22 15:17:15 +0200
committerm-r-r <raybaudroigm@gmail.com>2012-04-22 15:17:15 +0200
commitb34b452514f2bc032cfaa25295a99d415db4d743 (patch)
tree7bcc0424df3e970cd213f1b447d5933543014b90 /dev-random
parente47bc9971bef57ce97dc6312b0e50717318d3900 (diff)
downloadpelican-themes-b34b452514f2bc032cfaa25295a99d415db4d743.tar.gz
Forgotten to wrap the archives with a <section> tag
Diffstat (limited to 'dev-random')
-rw-r--r--dev-random/templates/archives.html46
1 files changed, 23 insertions, 23 deletions
diff --git a/dev-random/templates/archives.html b/dev-random/templates/archives.html
index 998890e..f437099 100644
--- a/dev-random/templates/archives.html
+++ b/dev-random/templates/archives.html
@@ -3,28 +3,28 @@
{% block content_title %}{{ SITENAME }} — Archives{% endblock %}
{%- block content %}
+ <section id="page-content">
+ <dl>
+ {% for article in articles %}
+ {% if loop.first or article.date.strftime('%Y %m') != articles[loop.index0-1].date.strftime('%Y %m') %}
+ <dt>
+ <h2>{{ article.date.strftime('%B %Y') }}</h2>
+ <ul>
+ {% endif %}
+
+ <li>
+ <a rel="bookmark"
+ href="{{ SITEURL }}/{{ article.url }}"
+ title="Lien permanent vers «{{ article.title }}»">
+ {{ article.title }}
+ </a>
+ </li>
- <dl>
- {% for article in articles %}
- {% if loop.first or article.date.strftime('%Y %m') != articles[loop.index0-1].date.strftime('%Y %m') %}
- <dt>
- <h2>{{ article.date.strftime('%B %Y') }}</h2>
- <ul>
- {% endif %}
-
- <li>
- <a rel="bookmark"
- href="{{ SITEURL }}/{{ article.url }}"
- title="Lien permanent vers «{{ article.title }}»">
- {{ article.title }}
- </a>
- </li>
-
- {% if loop.last or article.date.strftime('%Y %m') != articles[loop.index0+1].date.strftime('%Y %m') %}
- </ul>
- </dt>
- {% endif %}
- {% endfor %}
- </dl>
-
+ {% if loop.last or article.date.strftime('%Y %m') != articles[loop.index0+1].date.strftime('%Y %m') %}
+ </ul>
+ </dt>
+ {% endif %}
+ {% endfor %}
+ </dl>
+ </section>
{% endblock content -%}