2 layout: "layouts/layout.njk"
5 {% for year, group in collections.posts | reverse | groupby("date.getFullYear()") %}
7 <h2><a class="c-sun dec-none" href="/{{ year }}">{{ year }}</a></h2>
8 {% for post in group %}
10 <a class="c-sun" href="{{ post.url }}">{{ post.data.title }}</a>
11 <div class="spacer"></div>
12 <i class="dim">{{ post.date | date('MMM DD') }}</i>