view pages/menu/news.md @ 225:55efa802cd8e

* news.md: Fix for Savannah.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Tue, 15 Sep 2020 19:04:41 +0900
parents 6de5c7dcc43f
children
line wrap: on
line source

---
layout: page
title: News
menu: true
permalink: news.html
---

{% for post in site.posts %}
<div class="primary callout">
  {% if post == site.posts.first %}
  <a class="float-right button tiny warning" href="{{ "/feed.xml" | relative_url }}">
    RSS
  </a>
  {% endif %}
  {% if post.title == "News Archive" %}
  <h3 class="entry-title">
    <a href="{{ post.url | relative_url }}">{{ post.title }}</a>
  </h3>
  {% else %}
  <h3 class="entry-title">
    <a href="{{ post.url | relative_url }}">{{ post.title }}</a>
  </h3>
  <p class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</p>
  <div class="entry-content">
    {{ post.excerpt }}
  </div>
  {% endif %}
</div>
{% endfor %}