{% extends "default.njk" %} {% block main %}

{{ contents | safe }}

{% for date, posts in collections.posts | groupby('pub.year') | dictsort | reverse %}

{{ date }}


{% for post in posts %}

{{ post.title | safe }}

{{ post.description | safe }}
{% else %} No posts {% endfor %} {% endfor %} {% endblock %}