aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/blog/archives.html
blob: ebf447c9e9175f0baccd6ad9526bc1ef382011ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
layout: post
title: Blog Archive
no_meta: true
---
<div class="blog-archives">
{% for post in site.posts reverse %}
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
{% unless year == this_year %}
  {% assign year = this_year %}
  <h2>{{ year }}</h2>
{% endunless %}
<article>
  {% include archive_post.html %}
</article>
{% endfor %}
</div>