--- a/templates/layout.tmpl Fri Feb 06 22:48:00 2009 +0200
+++ b/templates/layout.tmpl Fri Feb 06 23:21:24 2009 +0200
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
- <title>qmsk.net :: ${page_title}</title>
+ <title>qmsk.net :: ${page.title}</title>
<link rel="Stylesheet" type="text/css" href="${site_root_url}/static/style.css" />
</head>
<body>
@@ -11,11 +11,13 @@
</div>
<ul id="nav">
- <li><a href="#foo">Foo</a></li>
+ % for (url, title) in menu.siblings :
+ <li><a href="${url}"${' class="selected-page"' if url == page.url else ''}>${title}</a></li>
+ % endfor
</ul>
<div id="content">
- ${page_content}
+ ${page.content}
</div>
</body>
</html>