-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharchive.html
More file actions
32 lines (29 loc) · 741 Bytes
/
archive.html
File metadata and controls
32 lines (29 loc) · 741 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
---
layout: page
title: Archive
---
<div class="archive-by-tag">
{% assign sorted_tags = site.data.tags | sort: "name" %}
{% for tag in sorted_tags %}
<a href="/tags/{{ tag.slug }}/">{{ tag.name }}</a>{% if forloop.last == false %}, {% endif %}
{% endfor %}
</div>
<hr/>
<div class="archive-by-date">
<h1 class="page-title">Archive by Date</h1>
<table>
<th>Date</th>
<th>Title</th>
<th>Tags</th>
{% for post in site.posts %}
<tr>
<td style="white-space:nowrap"> {{ post.date | date: "%Y-%m-%d" }} </td>
<td> <a href="{{ post.url }}">{{ post.title }}</a> </td>
<td>
{% include post-tags.md %}
{{ tags_content }}
</td>
</tr>
{% endfor %}
</table>
</div>