1
Fork 0
blog/posts.liquid

31 lines
675 B
Plaintext
Raw Normal View History

---
2018-01-01 19:04:05 +00:00
permalink: /posts
2017-07-09 12:18:22 +00:00
title: Posts
2018-01-01 19:04:05 +00:00
layout: simple.liquid
data:
route: posts
2013-05-10 18:18:10 +00:00
---
2018-12-23 15:22:37 +00:00
<a href="/tagged/">Post by tag</a>
2023-12-31 21:38:20 +00:00
{% assign years = "2024, 2023, 2022, 2021, 2020, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011" | split: ", " %}
2019-04-23 21:09:40 +00:00
<table>
{% for year in years -%}
<tr>
<td>&nbsp;</td>
<td><h2>{{year}}</h2></td>
2019-04-23 21:09:40 +00:00
</tr>
2017-07-09 12:18:22 +00:00
2019-04-23 21:09:40 +00:00
{%- for post in collections.posts.pages %}
{%- assign postyear = post.published_date | date: "%Y" %}
{%- if postyear == year %}
<tr>
<td>{{ post.published_date | date: "%d. %b"}}</td>
<td><a href="/{{post.permalink }}">{{post.title}}</a></td>
</tr>
{%- endif %}
{%- endfor %}
2017-07-09 14:05:40 +00:00
2019-04-23 21:09:40 +00:00
{%- endfor %}
</table>