v6/site/archive.html

32 lines
694 B
HTML

{% extends "default" %}
{% block titlevariable %}
{% set title = "Archive" %}
{% endblock %}
{% block content -%}
<h1 class="headline">Archive</h1>
{% for year in years %}
<div class="archive-list">
{% for entry in posts_by_year[year] %}
<code>
<time datetime="{{ entry.date | iso_datetime }}">
{{ entry.date | iso_date }}
</time>
</code>
<div>
<a href="{{ entry.permalink }}">
{{ entry.title }}
</a>
</div>
{% endfor %}
</div>
{% if not loop.last %}
<hr>
{% endif %}
{% endfor %}
{%- endblock %}