<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>${c.page_title}</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="/styles/style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="header">
<h1><a href="${h.url_for('/')}" title="${c.blog_title}">${c.blog_title}</a></h1>
<h2>${c.blog_slogan}</h2>
</div>
<div id="menu">
<ul>
<li><a href="${h.url_for('/')}">Home</a></li>
% for page in c.pages:
<li><a href="${page.url}">${page.name}</a></li>
% endfor
% if c.current_user:
<li><a href="${h.url_for('/post/new')}">New</a></li>
<li><a href="${h.url_for('/admin/logout')}">Logout</a></li>
% else:
<li><a href="${h.url_for('/admin/login')}">Login</a></li>
% endif
</ul>
<hr />
<div id="page">
<div id="content">
${next.body()}
<%include file="/sidebar.mako"/>
<div style="clear: both;"> </div>
<div id="footer">
<p>Copyright © 2010 Raoul and Hannah Snyman. Powered by ScribeEngine. Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
</body>
</html>