-
Notifications
You must be signed in to change notification settings - Fork 0
/
news_full.html
40 lines (38 loc) · 996 Bytes
/
news_full.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: normal
title: news
---
<section class="usa-section fullawards">
<div class="usa-grid">
<div class="usa-width-one-whole usa-content">
<h1 class="bxheader">News archive</h1>
{% assign news_items_by_year = site.data.news | group_by:"year" %}
<div class="usa-grid-full">
<div class="usa-width-two-thirds">
{% for year in news_items_by_year %}
<h2>{{ year.name }}</h2>
<ul>
{% for newsitem in year.items %}
<li>
{% case newsitem.month %}
{% when 1 %}January
{% when 2 %}February
{% when 3 %}March
{% when 4 %}April
{% when 5 %}May
{% when 6 %}June
{% when 7 %}July
{% when 8 %}August
{% when 9 %}September
{% when 10 %}October
{% when 11 %}November
{% when 12 %}December
{% endcase %}| {{ newsitem.event }}</li>
{% endfor %}
</ul>
{% endfor %}
</div>
</div>
</div>
</div>
</section>