Mercurial > web-octave
diff pages/community-news.html @ 215:dedb85c54245
Reorganize homepage.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Thu, 10 Sep 2020 17:47:36 +0900 |
parents | |
children | fe59d0118a2b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pages/community-news.html Thu Sep 10 17:47:36 2020 +0900 @@ -0,0 +1,40 @@ +--- +layout: null +permalink: community-news +--- + +<!-- + +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 community news page. Don't forget to increment +the `community-news-page-serial` number by one in order to show new +entries in the GUI: + + this-is-the-gnu-octave-community-news-page + community-news-page-serial=13 + +--> + +<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>Octave Community News</title> +</head> +<body> + +{% for post in site.categories.release limit:3 %} + +<h2><a href="{{ post.url | absolute_url }}">{{ post.title }}</a></h2> + +{{ post.excerpt }} + +<small><em>— The Octave Developers, {{ post.date | date: "%b %-d, %Y" }}</em></small> + +{% endfor %} + +</body> +</html>