-
Notifications
You must be signed in to change notification settings - Fork 0
/
archives.html
46 lines (46 loc) · 1.39 KB
/
archives.html
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
38
39
40
41
42
43
44
45
46
---
layout: default
title: Archives
---
<div class="page">
<h1 class="page-title">Archives</h1>
<h2>2019</h2>
<ul class="archive-list">
{% for post in site.posts %}
{% assign year = post.date | date: "%Y" %}
{% if year == "2019" %}
<li>
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}: </time>
<!--<span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span>-->
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
<h2>2018</h2>
<ul class="archive-list">
{% for post in site.posts %}
{% assign year = post.date | date: "%Y" %}
{% if year == "2018" %}
<li>
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}: </time>
<!--<span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span>-->
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
<h2>2017</h2>
<ul class="archive-list">
{% for post in site.posts %}
{% assign year = post.date | date: "%Y" %}
{% if year == "2017" %}
<li>
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}: </time>
<!--<span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span>-->
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>