changeset 75:333306af2e72 kai

Make community-news.md. Now all News are from one source!
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Thu, 13 Oct 2016 17:53:55 +0200
parents 5e297505996c
children b5f58a6bcd79
files community-news.html community-news.md feed.xml
diffstat 3 files changed, 41 insertions(+), 81 deletions(-) [+]
line wrap: on
line diff
--- a/community-news.html	Thu Oct 13 17:53:12 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,80 +0,0 @@
-<!--
-
-This is the community news page for Octave.  It is displayed in the
-"Community News" display area of the Octave GUI.  It should not have
-the usual page header that other pages on the Octave web site have.
-The following string must be present for Octave to recognize and
-display this page as the comunity news page:
-
-  this-is-the-gnu-octave-community-news-page
-  community-news-page-serial=6
-
--->
-
-<html>
-<head>
-<title>Octave Community News</title>
-<style TYPE="text/css">
-<!--
-body {
-}
--->
-</style>
-</head>
-<body>
-<h2>Octave 4.0.3 has been Released</h2>
-<p>
-The Octave developers are pleased to announce the release
-of GNU Octave, version 4.0.3.
-<p>
-Octave 4.0.3 is a bug fixing release.  A list of bugs fixed in this
-release is available from <a href="http://octave.org/fixes-4-0-3.html">http://octave.org/fixes-4-0-3.html</a>
-</p>
-<p>
-An official Windows binary installer is available
-from <a href="ftp://ftp.gnu.org/gnu/octave/windows/octave-4.0.3-installer.exe">ftp://ftp.gnu.org/gnu/octave/windows/octave-4.0.3-installer.exe</a>
-</p>
-</p>
-The Octave 4.0.3 sources are available from
-<a href="ftp://ftp.gnu.org/gnu/octave/octave-4.0.3.tar.xz">ftp://ftp.gnu.org/gnu/octave/octave-4.0.3.tar.xz</a>.
-</p>
-<p>
-Thanks to the many people who contributed to this release!
-</p>
-<p>
-<small><em>&mdash; The Octave Developers, July 2, 2016</em></small>
-</p>
-<h2>Octave 4.0.1 has been Released</h2>
-<p>
-The Octave developers are pleased to announce the release
-of GNU Octave, version 4.0.1.
-<p>
-Octave 4.0.1 is a bug fixing release.  A list of bugs fixed in this
-release is available from <a href="http://octave.org/fixes-4-0-1.html">http://octave.org/fixes-4-0-1.html</a>
-</p>
-<p>
-An official Windows binary installer is available
-from <a href="ftp://ftp.gnu.org/gnu/octave/windows/octave-4.0.1-installer.exe">ftp://ftp.gnu.org/gnu/octave/windows/octave-4.0.1-installer.exe</a>
-</p>
-</p>
-The Octave 4.0.1 sources are available from
-<a href="ftp://ftp.gnu.org/gnu/octave/octave-4.0.1.tar.xz">ftp://ftp.gnu.org/gnu/octave/octave-4.0.1.tar.xz</a>.
-</p>
-<p>
-Thanks to the many people who contributed to this release!
-</p>
-<p>
-<small><em>&mdash; The Octave Developers, March 23, 2016</em></small>
-</p>
-<h2>Community News Window in Octave 3.8</h2>
-<p>
-Beginning with the 3.8.x release series of Octave, we will be
-displaying news about Octave community events here.  In Octave's GUI
-interface, this window will appear when there is new information.
-Octave will check for it at most once per day.
-</p>
-<p>
-<small><em>&mdash; The Octave Developers, December 4, 2013</em></small>
-</p>
-</body>
-</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/community-news.md	Thu Oct 13 17:53:55 2016 +0200
@@ -0,0 +1,40 @@
+---
+layout: NULL
+---
+<!--
+
+This is the community news page for Octave.  It is displayed in the
+"Community News" display area of the Octave GUI.  It should not have
+the usual page header that other pages on the Octave web site have.
+The following string must be present for Octave to recognize and
+display this page as the comunity news page:
+
+  this-is-the-gnu-octave-community-news-page
+  community-news-page-serial=6
+
+-->
+
+<html>
+<head>
+<title>Octave Community News</title>
+<style TYPE="text/css">
+<!--
+body {
+}
+-->
+</style>
+</head>
+<body>
+
+{% for post in site.posts limit:3 %}
+<h2><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2>
+<p>
+{{ post.excerpt }}
+</p>
+<p>
+<small><em>&mdash; The Octave Developers, {{ post.date | date: "%b %-d, %Y" }}</em></small>
+</p>
+{% endfor %}
+
+</body>
+</html>
--- a/feed.xml	Thu Oct 13 17:53:12 2016 +0200
+++ b/feed.xml	Thu Oct 13 17:53:55 2016 +0200
@@ -11,7 +11,7 @@
     <pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
     <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
     <generator>Jekyll v{{ jekyll.version }}</generator>
-    {% for post in site.posts limit:10 %}
+    {% for post in site.posts limit:20 %}
       <item>
         <title>{{ post.title | xml_escape }}</title>
         <description>{{ post.content | xml_escape }}</description>