net/blog/index.html

16 lines
441 B
HTML

---
layout: page
title: Blog Archive
---
{% for post in site.posts reverse %}
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
{% unless year == this_year %}
{% assign year = this_year %}
<h3>{{ year }}</h3>
{% endunless %}
<div>
<time datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate>{{ post.date | date: "%B %d" }}</time> &mdash;
<a href="/{{ post.url }}">{{post.title}}</a>
</div>
{% endfor %}