blob: 0e3c2bf4338a76cdcb294886e2e7e548134bb21c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{% extends "section.html" %}
{%- block content -%}
<h1>{{ section.title }}</h1>
{%- for year, posts in section.pages | group_by(attribute="year") -%}
<section class="times">
<h2>{{ year }}</h2>
<ul>
{%- for post in posts %}
<li>
<h3><a href="{{- post.path|safe -}}">{{- post.title -}}</a></h3>
<time datetime="{{ post.date | date(format="%+")}}">{{ post.date | date(format="%d %h %Y")}}</time>
</li>
{%- endfor %}
</ul>
</section>
{%- endfor %}
{%- endblock content -%}
|