# HG changeset patch # User Kai T. Ohlhus # Date 1479511814 -3600 # Node ID 49c2fa89daa880c3fa38f05ffd19ef8262ace48b # Parent 2a6d697fee614dbcff9070b24eea470e2ae2537a Merge community-news related layout and Markdown logic. * community-news.html: Merge community-news related layout and Markdown logic. Document serial number feature. Consider only posts of site.categories.news. * _layouts/community-news.html: merged with community-news.html * community-news.md: merged with community-news.html diff -r 2a6d697fee61 -r 49c2fa89daa8 _layouts/community-news.html --- a/_layouts/community-news.html Fri Nov 18 11:31:43 2016 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ - - - - - -Octave Community News - - - - -{{ content }} - - - diff -r 2a6d697fee61 -r 49c2fa89daa8 community-news.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/community-news.html Sat Nov 19 00:30:14 2016 +0100 @@ -0,0 +1,44 @@ +--- +layout: null +--- + + + + + + +Octave Community News + + + + +{% for post in site.categories.news limit:3 %} + +

{{ post.title }}

+ +{{ post.excerpt }} + +— The Octave Developers, {{ post.date | date: "%b %-d, %Y" }} + +{% endfor %} + + + diff -r 2a6d697fee61 -r 49c2fa89daa8 community-news.md --- a/community-news.md Fri Nov 18 11:31:43 2016 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,13 +0,0 @@ ---- -layout: community-news ---- - -{% for post in site.posts limit:3 %} - -## [{{ post.title }}]({{ post.url | absolute_url }}) - -{{ post.excerpt }} - -— The Octave Developers, {{ post.date | date: "%b %-d, %Y" }} - -{% endfor %}