comparison pages/news.md @ 241:598d7f098082

Overhaul website, less JavaScript, more FontAwesome.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Thu, 18 Mar 2021 15:59:24 +0900
parents
children 2e13395adcc0
comparison
equal deleted inserted replaced
240:fd916b69fb1d 241:598d7f098082
1 ---
2 layout: page
3 title: News
4 icon: <i class="fas fa-rss"></i>
5 permalink: news.html
6 ---
7
8 {% for post in site.posts %}
9 <div class="primary callout">
10 {% if post == site.posts.first %}
11 <a class="float-right button tiny warning" href="{{ "/feed.xml" | relative_url }}"><i class="fas fa-rss"></i>
12 RSS
13 </a>
14 {% endif %}
15 <p>
16 <strong><a href="{{ post.url | relative_url }}">{{ post.title }}</a></strong>
17 {% if post.title != "News Archive" %}
18 &ndash; {{ post.date | date: "%b %-d, %Y" }}
19 </p>
20 <div class="entry-content">
21 {{ post.excerpt }}
22 </div>
23 {% else %}
24 </p>
25 {% endif %}
26 </div>
27 {% endfor %}