14 lines
625 B
Plaintext
14 lines
625 B
Plaintext
<ul reversed>
|
|
{% for year, yearPosts in collections.postsByYear %}
|
|
<details><summary>{{ year }}</summary>
|
|
<ol reversed class="archivelist">
|
|
{% for post in yearPosts | reverse %}
|
|
<li class="archivelist-item{% if post.url == url %} archivelist-item-active{% endif %}">
|
|
<a href="{{ post.url }}" class="archivelist-link">{% if post.data.title %}{{ post.data.title }}{% else %}<code>{{ post.url }}</code>{% endif %}</a><br />
|
|
<time class="archivelist-date" datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate("dd LLLL yyyy") }}</time>
|
|
</li>
|
|
{% endfor %}
|
|
</ol></details>
|
|
{% endfor %}
|
|
</ul>
|