-
Notifications
You must be signed in to change notification settings - Fork 0
/
archive.html
40 lines (33 loc) · 1.11 KB
/
archive.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
---
layout: default
---
<div id="archive">
<h2>Archive</h2>
<div>
<ul id="post-list">
{% for post in site.posts %}
<li>
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
<h3>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h3>
{% for category in post.categories %}
<span class="post-tag">{{category}}</span>
{% endfor %}
<p>
{{ post.content | strip_html | truncatewords: 60 }}
</p>
<div class="post-read-more">
<a href="{{ post.url | prepend: site.baseurl }}">
<span>Read more</span>
{% include arrow-right.html %}
</a>
</div>
</li>
{% endfor %}
</ul>
<p id="post-list-read-more">
Subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a>.
</p>
</div>
</div>