This repository has been archived on 2024-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
old-scribeengine/scribeengine/templates/base.mako

44 lines
1.5 KiB
Plaintext
Raw Normal View History

2010-01-15 20:55:30 +00:00
<!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="${h.url_for('/styles/style.css')}" rel="stylesheet" type="text/css" media="screen" />
2010-01-15 20:55:30 +00:00
</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
2010-01-18 20:16:46 +00:00
% if c.current_user:
2010-01-18 22:41:00 +00:00
<li><a href="${h.url_for(controller='post',action='new')}">New Post</a></li>
<li><a href="${h.url_for(controller='admin',action='logout')}">Logout</a></li>
2010-01-18 20:16:46 +00:00
% else:
<li><a href="${h.url_for(controller='admin',action='login')}">Login</a></li>
2010-01-18 20:16:46 +00:00
% endif
2010-01-15 20:55:30 +00:00
</ul>
</div>
<hr />
<div id="page">
<div id="content">
${next.body()}
</div>
<%include file="/sidebar.mako"/>
<div style="clear: both;">&nbsp;</div>
</div>
<hr />
<div id="footer">
<p>Copyright &copy; 2010 Raoul and Hannah Snyman. Powered by ScribeEngine. Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
</div>
</body>
</html>