Browse Source

Archiv-Seite

master
Christian Aust 1 month ago
parent
commit
7f4741a721
  1. 16
      archiv.md

16
archiv.md

@ -0,0 +1,16 @@
---
layout: page
title: Archiv
---
Alle Texte nach Jahr sortiert.
{% assign postsByYear = site.posts | group_by_exp: "post", "post.date | date: '%Y'" %}
{% for yearMonth in postsByYear %}
<h2>{{ yearMonth.name }}</h2>
<ul>
{% for post in yearMonth.items %}
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
{% endfor %}
Loading…
Cancel
Save