view news.md @ 77:8697f27c627c kai

Create a before existing News page.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Thu, 13 Oct 2016 17:54:34 +0200
parents
children 5caa2af27956
line wrap: on
line source

---
layout: default
title: News
menu: false
---

[{% octicon rss class:"octicon-rss-octave" %} News feed][Feed]

{% for post in site.posts %}
{% if post.title == "News Archive" %}
- [{{ post.title }}]({{ post.url | relative_url }})
{% else %}
- [{{ post.title }}]({{ post.url | relative_url }})
  ({{ post.date | date: "%b %-d, %Y" }})


  <div class="news-content">
  {{ post.excerpt }}
  </div>
{% endif %}
{% endfor %}

[Feed]: {{ "feed.xml" | relative_url }}