v6/site/archive.html

21 lines
342 B
HTML
Raw Normal View History

2022-12-10 18:15:32 +00:00
{% extends "layout/default.html" %}
{% block title %}Archive{% endblock %}
{% block content %}
{% for (year, posts) in years %}
<h2>{{ year }}</h2>
<ul>
{% for post in posts %}
<li>
<a href="{{ post.permalink() }}">
{{ post.metadata.title }}
</a>
</li>
{% endfor %}
</ul>
{% endfor %}
{% endblock %}