summaryrefslogtreecommitdiff
path: root/source/blog/index.md
blob: 7ec566dc3ec3c5e9b669b6d8813320525de9e7c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
title: "Blog"
date: 2021-02-22
layout: "default"
---

# Blog

Just a bunch of random ramblings.

{% assign by_year = site.pages
  | where_exp: "page", "page.layout == 'blog'"
  | group_by_exp: "page", "page.date | date: '%Y'"
  | reverse
%}
{% for year in by_year %}
<p>{{ year.name }}:
<ul>
  {% assign in_year = year.items
    | sort: "date"
    | reverse
  %}
  {% for post in in_year %}
  <li>
  <a href="{{ post.url }}">{{ post.title | replace: "<br>", " " }}</a>
  </li>
  {% endfor %}
</ul>
</p>
{% endfor %}