Mercurial > web-octave
diff news.md @ 94:e8fc61e077fc
Merged closed branch "kai" into default.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Tue, 01 Nov 2016 01:06:10 +0100 |
parents | |
children | e7efa40deb17 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/news.md Tue Nov 01 01:06:10 2016 +0100 @@ -0,0 +1,23 @@ +--- +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 }}