1
Fork 0
blog/posts.md

14 lines
377 B
Markdown

---
layout: post
title: posts
---
{% for post in site.posts %}
{% capture currentyear %}{{post.date | date: "%Y"}}{% endcapture %}
{% if currentyear != year %}
### {{ currentyear }}
{% capture year %}{{currentyear}}{% endcapture %}
{% endif %}
* {{post.date | date: "%d %b"}}: [{{post.title}}]({{post.url | remove_first: '/' | prepend: site.baseurl}})
{% endfor %}