-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
31 lines (28 loc) · 1.08 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
---
layout: home
---
<center><h3>UPCOMING UPDATES</h3></center>
<ul>
{% capture now %}{{'now' | date: '%s' | plus: 0 }}{% endcapture %} {% assign release_dates = site.release_dates %} {% for release_date in release_dates %} {% capture date %}{{release_date.to_date | date: '%s' | plus: 0 }}{% endcapture
%} {% if date >= now %}
<a href="{{ release_date.url }}">
<li class="{{ release_date.type }}">
<b>{{ release_date.title}}</b> <br />
{{ release_date.to_date | timeago }}
</li>
</a>
{% endif %} {% endfor %}
</ul>
<center><h3>PAST UPDATES</h3></center>
<ul>
{% for release_date in site.release_dates %} {% capture date %}{{release_date.to_date | date: '%s' | plus: 0 }}{% endcapture %} {% if date < now %}
<a href="{{ release_date.url }}">
<li class="{{ release_date.type }}">
<b>{{ release_date.title}}</b> <br />
{{ release_date.to_date | timeago }}
</li>
</a>
{% endif %} {% endfor %}
</ul>
{% include calltoaction.html %}
<link rel="stylesheet" href="../assets/css/main.css" />