2016-02-25 04:08:59 +01:00
|
|
|
---
|
|
|
|
layout: archive
|
|
|
|
permalink: /year-archive/
|
|
|
|
title: "Posts by Year"
|
2016-03-07 04:07:48 +01:00
|
|
|
author_profile: false
|
2016-02-25 04:08:59 +01:00
|
|
|
---
|
2016-03-07 15:51:50 +01:00
|
|
|
|
2016-03-07 16:27:07 +01:00
|
|
|
{% include base_path %}
|
2016-02-25 04:08:59 +01:00
|
|
|
{% capture written_year %}'None'{% endcapture %}
|
|
|
|
{% for post in site.posts %}
|
|
|
|
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
|
|
|
|
{% if year != written_year %}
|
2016-03-11 03:53:28 +01:00
|
|
|
<h2 id="{{ year | slugify }}" class="archive__subtitle">{{ year }}</h2>
|
2016-02-25 04:08:59 +01:00
|
|
|
{% capture written_year %}{{ year }}{% endcapture %}
|
|
|
|
{% endif %}
|
2016-03-11 03:13:01 +01:00
|
|
|
{% include archive-list-single.html %}
|
2016-02-25 04:08:59 +01:00
|
|
|
{% endfor %}
|