]> Witch of Git - web/blog/blob - years.njk
Newline at the end of twitter.svg
[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 title: Archive
9 ---
10
11 <h2>{{ year }}</h2>
12
13 <ul class="ls-none">
14 {% for post in collections.years[year] | reverse %}
15 <li>
16 <h2><a class="c-sun" href="{{ post.url }}">{{ post.data.title }}</a></h2>
17 <i class="dim">{{ post.date | date("YYYY-MM-DD") }}</i>
18 {% if post.data.summary %}
19 <p>{{ post.data.summary | markdown | safe }}</p>
20 {% endif %}
21 </li>
22 {% endfor %}
23 </ul>