]> Witch of Git - web/blog/blob - archive.njk
Add the Gundam III theater post
[web/blog] / archive.njk
1 ---
2 layout: "layouts/layout.njk"
3 title: "Archive"
4 eleventyImport:
5 collections: ["posts"]
6 ---
7
8 {% for year, group in collections.posts | reverse | groupby("date.getFullYear()") %}
9 <section>
10 <h2><time datetime="{{ year }}"><a class="c-sun dec-none" href="/{{ year }}">{{ year }}</a></time></h2>
11 {% for post in group %}
12 <article class="row">
13 <a class="c-sun" href="{{ post.url }}">{{ post.data.title }}</a>
14 <div class="spacer wide-1"></div>
15 {% if post.data.published %}
16 <i class="dim rigid"><time datetime="{{ post.data.published | toRfc3339 }}">{{ post.data.published | date('MMM dd') }}</time></i>
17 {% endif %}
18 </article>
19 {% endfor %}
20 </section>
21 {% endfor %}