]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blob - templates/base.html
rename 'content' to 'bpcms'
[sommitrealweird.git] / templates / base.html
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4     <head>
5         <title>{% block title %}{{ title }}{% endblock %}</title>
6         <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}style/main.css" />
7     </head>
8     <body>
9         <div id="page">
10             <div id="headerbar">
11                 <div id="websitetitle">
12                     <h1>SommitRealWeird</h1>
13                 </div>
14                 <div id="menu">
15                     {% block menu %}
16                     <ul>
17                         <li><a href="/">Home</a></li>
18                         {% for item in content_menu %}
19                         <li><a href="/{{ item.url }}">{{ item.title }}</a></li>
20                         {% endfor %}
21                         <li>Photos</li>
22                         <li>Blog</li>
23                     </ul>
24                     {% endblock %}
25                 </div>
26             </div>
27             <div id="content">
28                 {% block content %}
29                 {{ content }}
30                 {% endblock %}
31             </div>
32             <div id="footer">
33                 <p>Copyright &copy; 2008 - <a href="mailto:iDunno@sommitrealweird.co.uk">Brett Parker</a></p>
34             </div>
35         </div>
36     </body>
37 </html>