blog/templates/archive.html

12 lines
267 B
HTML
Raw Normal View History

2024-12-11 20:25:15 +01:00
{% extends "index.html" %}
{% for year, posts in section.pages | group_by(attribute="year") %}
<h2>{{ year }}</h2>
<ul>
{% for post in posts %}
<li><a href="{{ post.permalink }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
{% endfor %}