upgrade to 3.0

This commit is contained in:
Kathleen Fitzpatrick
2024-10-14 19:27:15 -04:00
parent e8f8a543de
commit 655ad0ded8
1988 changed files with 47081 additions and 263 deletions

13
_includes/archive.njk Normal file
View File

@@ -0,0 +1,13 @@
<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>