forked from HighLO/highlo.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnews-archive.html
More file actions
54 lines (35 loc) · 1.08 KB
/
news-archive.html
File metadata and controls
54 lines (35 loc) · 1.08 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
---
<!doctype html>
<html lang="en">
{% include head.html %}
<body>
<script src="https://kit.fontawesome.com/e441288905.js" crossorigin="anonymous"></script>
<div id="main">
{% include topnav.html %}
<div class="spacer">
</div>
<div id="news" class="section p-news">
<div class="container">
<h1>All news and events</h1>
<div class="latestnews-container">
{% assign news_sorted = site.news | sort: 'date' | reverse %}
{% for news in news_sorted %}
<div id="latestnews">
<div class="date"> {{ news.date | date: '%b %-d, %Y'}}</div>
<div class="title"><a href="{{ news.link }}" target="_blank">{{ news.title }}</a></div>
{{ news.description | truncatewords: 10 }}
<i><a href="{{ news.link }}" target="_blank">[more]</a></i>
</div>
{% endfor %}
</div>
<center>
<br>
<b><i><a href="index.html">[back to home]</a></i></b>
</center>
</div>
</div>
{% include footer.html %}
</div>
</body>
</html>