-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
33 lines (30 loc) · 947 Bytes
/
Copy pathindex.html
File metadata and controls
33 lines (30 loc) · 947 Bytes
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
31
32
33
---
title: ninjacheetah.dev
desc: come and see me talk about tech things!
layout: default
---
<div class="page-intro">
<h1>ninjacheetah.dev</h1>
<p>hey there, welcome to my blog! I write about all sorts of tech nonsense here, from fun experiments to updates on my projects :3</p>
</div>
{% assign years = site.posts
| group_by_exp: "post", "post.date | date: '%Y'"
%}
<div>
{% for year in years %}
<h2>{{ year.name }}</h2>
<div class="blog-list-year">
{% for post in year.items %}
<div>
<p style="margin-bottom: 1rem;">
{% if post.favorite == true %}
<span class="favorite-article">★</span>
{% endif %}
<a href="{{ post.url }}">{{ post.title }}</a>
<span class="blog-list-date-span">{{ post.date | date: "%Y-%m-%d" }}</span>
</p>
</div>
{% endfor %}
</div>
{% endfor %}
</div>