]> Witch of Git - web/blog/blob - years.njk
Archive polish work
[web/blog] / years.njk
1 ---
2 layout: "layouts/layout.njk"
3 pagination:
4 data: collections.years
5 size: 1
6 alias: year
7 permalink: /{{ year }}/index.html
8 ---
9
10 <h2>{{ year }}</h2>
11
12 <ul class="ls-none">
13 {% for post in collections.years[year] | reverse %}
14 <li>
15 <h2><a class="c-sun" href="{{ post.url }}">{{ post.data.title }}</a></h2>
16 <i class="dim">{{ post.date | date("YYYY-MM-DD") }}</i>
17 <p>{{ post.data.summary | markdown | safe }}</p>
18 </li>
19 {% endfor %}
20 </ul>