v6/site/archive.html

21 lines
342 B
HTML

{% 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 %}