-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy patharchive.html
More file actions
37 lines (35 loc) · 1.16 KB
/
archive.html
File metadata and controls
37 lines (35 loc) · 1.16 KB
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
34
35
36
37
---
layout: default
title: Archive
---
<h1>Archive</h1>
<p>These are all the blog articles in this site. To see the most recent ones with their descriptions instead, visit the <a href="/blog/">Blog</a>.</p>
<p>For essays that are less structured or sometimes about more random topics, see my <a href='/wiki/'>Digital Garden</a>.</p>
<div>
<h2>Articles</h2>
<ul style='list-style-type: none;'>
{% for post in site.posts %}
{% if post.sitemap %}
{% capture posttime %}{{post.date | date: '%Y'}}{% endcapture %}
{% if posttime > '2020' %}
<li><i>{{ post.date | date: '%Y-%m-%d' }}</i> - <a href="{{ post.url }}" title="{{ post.description }}">{{ post.title }}</a>
</li>
{% endif %}
{% endif %}
{% endfor %}
</ul>
</div>
<div>
<h2>Older Articles (From my Old Blog)</h2>
<ul style='list-style-type: none;'>
{% for post in site.posts %}
{% if post.sitemap %}
{% capture posttime %}{{post.date | date: '%Y'}}{% endcapture %}
{% if posttime <= '2020' %}
<li><i>{{ post.date | date: '%Y-%m-%d' }}</i> - <a href="{{ post.url }}" title="{{ post.description }}">{{ post.title }}</a>
</li>
{% endif %}
{% endif %}
{% endfor %}
</ul>
</div>