-
Notifications
You must be signed in to change notification settings - Fork 3
/
news.html
25 lines (25 loc) · 918 Bytes
/
news.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
---
layout: default
title: News
---
<article>
<header>
<a href="/">
<svg viewBox="0 0 24 24">
<path d="M14.71 15.88L10.83 12l3.88-3.88c.39-.39.39-1.02 0-1.41-.39-.39-1.02-.39-1.41 0L8.71 11.3c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0 .38-.39.39-1.03 0-1.42z"/>
</svg>
</a>
<h1>{{ page.title }}</h1>
</header>
<ul class="news">
{% for post in site.posts %}
<li id="{{ post.date | date: '%Y-%m-%d' }}-{{ post.title }}">
{{ post.content }}
<svg viewBox="0 0 24 24">
<path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm-.22-13h-.06c-.4 0-.72.32-.72.72v4.72c0 .35.18.68.49.86l4.15 2.49c.34.2.78.1.98-.24.21-.34.1-.79-.25-.99l-3.87-2.3V7.72c0-.4-.32-.72-.72-.72z"/>
</svg>
<span>{{ post.date | date: "%B %e, %Y" }}</span>
</li>
{% endfor %}
</ul>
</article>