From a828e2a746c36202b2affc8534f488626ec7b65b Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Wed, 16 Dec 2009 10:05:21 -0700 Subject: [PATCH] Add a top level news page, with the necessary support in the template and css. The contents of the news page are just a placeholder right now. I suspect that over time we will 'archive' old news to new news pages that are children of the main news page. --- in/news.md | 17 +++++++++++++++++ in/style/default.css | 12 ++++++++++++ in/style/default.tmpl | 8 ++++++++ 3 files changed, 37 insertions(+) create mode 100644 in/news.md diff --git a/in/news.md b/in/news.md new file mode 100644 index 0000000..aa711ac --- /dev/null +++ b/in/news.md @@ -0,0 +1,17 @@ +title: News +linktitle: NEWS +ctime: 2009-12-16 + +### 2009-12-20 +Today, oss.titaniummirror.com is released into the wild. + +--- + +### 2009-12-16 +Still working on the website. It is close but not yet done. + +--- + +### 2009-12-12 +Looking at static website generators. growl and webber both look pretty +promising. diff --git a/in/style/default.css b/in/style/default.css index 5b5ae75..b51756b 100644 --- a/in/style/default.css +++ b/in/style/default.css @@ -631,6 +631,18 @@ h4 { .sidebar5, .sitemap5 { padding-left: 90px; } .sidebar6, .sitemap6 { padding-left: 108px; } +/* ============================================= + Misc +================================================ */ + +hr { + width: 80%; + color: #d4d4d4; + background-color: #d4d4d4; + height: 1px; + margin-bottom: 18px; +} + /* ============================================= Footer ================================================ */ diff --git a/in/style/default.tmpl b/in/style/default.tmpl index a5006ea..e54cc04 100644 --- a/in/style/default.tmpl +++ b/in/style/default.tmpl @@ -89,6 +89,14 @@ ${self.contents()} % endif ${page.linktitle | entity} % endfor +% for level, part_of_path, current, page, link in get_sidemenu('NEWS'): +% if current: +
  • +% else: +
  • +% endif +${page.linktitle | entity}
  • +% endfor -- 2.39.2