mirror of
https://github.com/netz39/www.netz39.de.git
synced 2025-01-19 04:20:10 +01:00
33 lines
1.3 KiB
Text
33 lines
1.3 KiB
Text
|
---
|
||
|
layout: page
|
||
|
---
|
||
|
|
||
|
<div class="home">
|
||
|
<div id="archive">
|
||
|
{% assign postsByYear = site.posts | group_by_exp:"post", "post.date | date: '%Y'" %}
|
||
|
<ul class="archive-clouds">
|
||
|
{% for year in postsByYear %}
|
||
|
<a href="#archive-{{ year.name | cgi_escape }}" class="archive-anchor">
|
||
|
<li>
|
||
|
{{ year.name | cgi_escape }} ({{year.items.size}})
|
||
|
</li>
|
||
|
</a>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
{% for year in postsByYear %}
|
||
|
<div class="archive-group">
|
||
|
<h4 id="archive-{{year.name}}" class="title">{{ year.name }} ({{year.items.size}})</h4>
|
||
|
<div class="items">
|
||
|
{% for post in year.items %}
|
||
|
<a href="{{ post.url | relative_url }}" class="archive-post-link">
|
||
|
<div class="item">
|
||
|
<p class="meta">{{ post.date | date: site.data.language.str_date_format | default: '%B %-d, %Y' }}</p>
|
||
|
<p class="title">{{ post.title }}</p>
|
||
|
</div>
|
||
|
</a>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
</div>
|