${body}
</%def>\
#######################################################################
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html dir="ltr" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
-<title>${file.title | entity}</title>
-<meta http-equiv="Content-Type" content="text/html; charset=${file.output_encoding}"/>
+<title>TMI OSS Projects</title>
+
+<meta http-equiv="Content-Type" content="text/html; charset=${file.output_encoding}">
+<meta name="title" content="TMI OSS Projects">
+<meta name="language" content="en">
+<meta name="author" content="Titanium Mirror, Inc.">
+<meta name="copyright" content="Copyright (C) 2001 - 2009 by Titanium Mirror, Inc. All rights reserved.">
+<meta name="robots" content="index, follow">
% if len(keywords):
<meta name="keywords" content="${keywords | entity}" />
% endif
% if len(description):
<meta name="description" content="${description | entity}" />
% endif
+
+<link rel="stylesheet" type="text/css" media="screen" href="${get_path_to_root()}/style/css-reset.css">
+<link rel="stylesheet" type="text/css" media="screen" href="${get_path_to_root()}/style/default.css">
+<link rel="icon" href="${get_path_to_root()}/favicon.ico" type="x-icon">
+<link rel="shortcut icon" href="${get_path_to_root()}/favicon.ico" type="x-icon">
+<!--[if IE 7]>
+<link rel="stylesheet" type="text/css" media="screen" href="${get_path_to_root()}/style/ie7.css" />
+<![endif]-->
+<!--[if lte IE 6]>
+<link rel="stylesheet" type="text/css" media="screen" href="${get_path_to_root()}/style/ie6.css" />
+<![endif]-->
+
</head>
+
<body>
-<h1>${file.title | entity}</h1>
+<div id="header">
+
+<div id="homeLink" class="none">
+<a rel="home" href="/"><span class="homeLinkText">Home</span></a>
+</div> <!-- close homeLink -->
+
+<div id="topInfo"><p>
+<a href="http://www.titaniummirror.com">Corporate Website</a><br />
+oss@this.domain
+</p>
+<h2>${file.title}</h2>
+</div> <!-- close topInfo -->
+
+<div id="breadCrumbs">
+<p>
+<%
+ res = get_breadcrumbs()
+%>
+% if len(res) > 1:
+% for page, link in get_breadcrumbs():
+% if page == file:
+ ${page.linktitle}
+% else:
+ <a href="${link}">${page.linktitle}</a> :
+% endif
+% endfor
+% endif
+</p>
+</div> <!-- close breadCrumbs -->
+
+</div> <!-- close header -->
+
+<div id="container">
+
+<div id="wrapper" class="clearfix">
+
+<div id="sidebar">
+
+<div class="articleListing">
+<h2>Navigation</h2>
+<ul class="directory">
+% for level, part_of_path, current, page, link in get_sidemenu('Home'):
+% if current:
+<li class="active sidebar${level}">
+% else:
+<li class="sidebar${level}">
+% endif
+<a rel="bookmark" href="${link}">${page.linktitle | entity}</a></li>
+% endfor
+<!-- Gitweb reference is hardcoded -->
+<li class="sidebar0">
+<a rel="bookmark" href="/gitweb">gitweb</a></li>
+% 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 -->
+
+<div class="articleListing">
+<%
+ recently = get_recently(max_items = 20)
+%>
+% if len(recently) > 1:
+ <h2>Recent Changes</h2>
+ <ul class="directory">
+% for page, link in recently:
+ <li class="sidebar0">
+<a href="${link}">${page.linktitle | entity}
+% if page.mtime > page.ctime:
+ ${format_date(page.mtime)}\
+% else:
+ ${format_date(page.ctime)}\
+% endif
+</a></span></li>
+% endfor
+% endif
+</ul>
+</div> <!-- close articleListing -->
+
+</div> <!-- close sidebar -->
+
+<div id="content">
+<div class="articleBody"> <!-- can add narrow to the class too -->
${self.contents()}
+</div> <!--close articleBody (narrow) -->
+</div> <!--close content -->
+
+</div> <!-- close wrapper -->
+</div> <!-- close container -->
+
+<div id="footer" class="clearfix">
+<div id="footerInner" class="clearfix">
+
+<p class="copyright">
+Copyright (C) 2001-2016 Titanium Mirror, Inc. All Rights Reserved</p>
+<p>This page last updated ${format_date(file.mtime)}</p>
+</div> <!-- close footerRight -->
+
+</div> <!-- close footer -->
+
</body>
</html>