From 61fb4b6e914bea7713f072876ee221d755a7d016 Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Mon, 12 Sep 2011 01:14:43 +0000 Subject: [PATCH] Split news into news/oldnews --- html.ct | 9 ++++++++- html.h | 1 + index.c | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/html.ct b/html.ct index c529679..af1abf3 100644 --- a/html.ct +++ b/html.ct @@ -132,6 +132,7 @@ Content-Type: text/html; charset=UTF-8
  • Added new desktop icons
  • Miscellaneous bug fixes
  • + Improved organization of the Wiki
    2011-08-25
    @@ -169,7 +170,14 @@ Content-Type: text/html; charset=UTF-8
  • Added an option to automatically refresh after a timeout
  • New fullscreen mode
  • + +

    See also: Older news, + gitweb

    +<% } %> +<% void print_oldnews(void) { %> + < News +
    2010-05-17
    AWeather 0.4.1:
    • Win32 fixes and improved debug support
    • @@ -197,7 +205,6 @@ Content-Type: text/html; charset=UTF-8 progress is being made on libgis, which is now able to display a virtual globe using data from NASA servers.
    -

    See also: AWeather's gitweb

    <% } %> <% void print_screenshots(void) { %> diff --git a/html.h b/html.h index 2215a5a..254695c 100644 --- a/html.h +++ b/html.h @@ -52,6 +52,7 @@ void print_page(const page_t *which); /* Pages */ void print_about(void); void print_news(void); +void print_oldnews(void); void print_screenshots(void); void print_download(void); void print_development(void); diff --git a/index.c b/index.c index b4a23af..32423a3 100644 --- a/index.c +++ b/index.c @@ -26,6 +26,7 @@ page_t footer[] = { }; page_t special[] = { {"", NULL, print_index, 1.0, desc}, + {"oldnews", "Old News", print_oldnews, 0.2, NULL}, {NULL, "Not found", print_notfound, -1.0, NULL}, {NULL, NULL, NULL, 0.0, NULL}, }; -- 2.41.0