forked from webcompat/webcompat.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (34 loc) · 1.13 KB
/
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
31
32
33
34
35
36
37
38
39
40
---
layout: page
title: A Better Web Starts Here.
---
{% for post in paginator.posts %}
<article class="home col-sm-10">
<span class="post-date">
{% assign d = post.date | date: "%d" | plus:'0' %}
{{ post.date | date: "%B" }}
{% 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 %}
{{ post.date | date: "%Y" }}
</span>
<h2>{{ post.title }}</h2>
<div>
{% if post.fullview %}
{{ post.content }}
{% else %}
{% if post.shortinfo %}
{{ post.shortinfo }}
{% elsif post.description %}
{{ post.description }}
{% else %}
{{ post.excerpt }}
{% endif %}
{% endif %}
</div>
</article>
<div class="clearfix"></div>
{% endfor %}