From: R. Steve McKown Date: Wed, 16 Dec 2009 17:05:21 +0000 (-0700) Subject: Add a top level news page, with the necessary support in the template and css. X-Git-Url: https://oss.titaniummirror.com/gitweb?p=oss-web.git;a=commitdiff_plain;h=a828e2a746c36202b2affc8534f488626ec7b65b 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. --- 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