-
Notifications
You must be signed in to change notification settings - Fork 0
/
archives.html
39 lines (33 loc) · 943 Bytes
/
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
---
layout: default
permalink: /blog/archives/
---
<div class='full'>
<div class='row'>
<div class='large-8 columns large-centered'>
{% include section-title.html small_title="monthly archives" title="wrap ideas" %}
</div>
</div>
</div>
<div class='full no-padding'>
<div class='row'>
<div class='large-8 large-centered columns'>
{% assign archives = site.posts | group_by_exp:"post", "post.date | date: '%B %Y'" %}
<dl>
{% for archive in archives %}
{% assign hash = archive.name | date:"%Y-%m" %}
<dt id="{{ hash }}">{{ archive.name }}</dt>
<dd>
<ul>
{% for post in archive.items %}
<li>
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
</dd>
{% endfor %}
</dl>
</div>
</div>
</div>