]> oss.titaniummirror.com Git - oss-web.git/commitdiff
Add a top level news page, with the necessary support in the template and css.
authorR. Steve McKown <rsmckown@gmail.com>
Wed, 16 Dec 2009 17:05:21 +0000 (10:05 -0700)
committerR. Steve McKown <rsmckown@gmail.com>
Wed, 16 Dec 2009 17:09:27 +0000 (10:09 -0700)
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 [new file with mode: 0644]
in/style/default.css
in/style/default.tmpl

diff --git a/in/news.md b/in/news.md
new file mode 100644 (file)
index 0000000..aa711ac
--- /dev/null
@@ -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.
index 5b5ae7506ec7c2922b07db43f35a9a959f9c1a06..b51756b55c15e933f1ad5730b22f32a90658d59b 100644 (file)
@@ -631,6 +631,18 @@ h4 {
 .sidebar5, .sitemap5 { padding-left: 90px; }\r
 .sidebar6, .sitemap6 { padding-left: 108px; }\r
 \r
+/* =============================================\r
+  Misc\r
+================================================ */\r
+\r
+hr {\r
+       width: 80%;\r
+       color: #d4d4d4;\r
+       background-color: #d4d4d4;\r
+       height: 1px;\r
+       margin-bottom: 18px;\r
+}\r
+\r
 /* =============================================\r
   Footer\r
 ================================================ */\r
index a5006eaaf957649b2a7a248b351b4f6599b0113f..e54cc0418f86a8fa26296e198c8d4bf2a77c6692 100644 (file)
@@ -89,6 +89,14 @@ ${self.contents()}
 %    endif
 <a rel="bookmark" href="${link}">${page.linktitle | entity}</a></li>
 % endfor
+% for level, part_of_path, current, page, link in get_sidemenu('NEWS'):
+%    if current:
+<li class="active sidebar${level}">
+%    else:
+<li class="sidebar${level}">
+%    endif
+<a rel="bookmark" href="${link}">${page.linktitle | entity}</a></li>
+% endfor
 </ul>
 </div> <!-- close articleListing -->