1
0
Fork 0
forked from github/pelican

Merge with nblock.

This commit is contained in:
Alexis Metaireau 2010-12-12 19:51:47 +00:00
commit 3a3ef92fae
2 changed files with 4 additions and 6 deletions

View file

@ -23,7 +23,7 @@
</article></aside><!-- /#featured --> </article></aside><!-- /#featured -->
{% if loop.length > 1 %} {% if loop.length > 1 %}
<section id="content" class="body"> <section id="content" class="body">
<h1>Others articles</h1> <h1>Other articles</h1>
<hr /> <hr />
<ol id="posts-list" class="hfeed"> <ol id="posts-list" class="hfeed">
{% endif %} {% endif %}

View file

@ -3,11 +3,9 @@
<h1>Archives for {{ SITENAME }}</h2> <h1>Archives for {{ SITENAME }}</h2>
<dl> <dl>
{% for date, articles in dates %} {% for article in dates %}
{% for article in articles %} <dt>{{ article.date.strftime('%Y-%m-%d %H:%M') }}</dt>
<dt>{{ date }}</dt> <dd><a href='{{ article.url }}'>{{ article.title }}</a></dd>
<dd><a href='{{ article.url }}'>{{ article.title }}</a></dd>
{% endfor %}
{% endfor %} {% endfor %}
</dl> </dl>
{% endblock %} {% endblock %}