blob: 492ff5090b4a9a666557de86c6e8b6523478563f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{% extends 'base.html' %}
{% block content %}
{% for year, posts in section.pages | group_by(attribute='year') %}
<section>
<h2>{{ year | trim | safe }}</h2>
<ul>
{% for page in posts %}
<li>
<time datetime="{{ page.date | date(format='%+') | trim | safe }}">{{ page.date | date(format='%Y/%m/%d') | trim | safe }}</time>
<span>—</span>
<a href="{{ page.path | trim | safe }}">{{ page.title | trim | safe }}</a>
</li>
{% endfor %}
</ul>
</section>
{% endfor %}
{% endblock content %}
|