-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
30 lines (25 loc) · 838 Bytes
/
index.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
---
layout: default
---
<div class="blog">
<ul class="post-list">
{% for post in site.posts %}
<li class="post-item">
<span class="post-date">
{% assign d = post.date | date: "%-d" %}
{% case d %}{% when "1" or "21" or "31" %}{{ d }}st{% when "2" or "22" %}{{ d }}nd{% when "3" or "23" %}{{ d }}rd{% else %}{{ d }}th{% endcase %}
of
{{ post.date | date: "%B" }},
{{ post.date | date: "%Y" }}
</span>
<h2 class="post-title">
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
<span class="post-author">
{{ post.author }} at {{ post.place }}
</span>
<span class="post-flag">{{ post.flag }}</span>
</li>
{% endfor %}
</ul>
</div>