]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blob - templates/base.html
Make footer slightly nicer.
[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 submenu %}
29                     {% if content_submenu %}
30                     <div id="submenu">
31                         <ul>
32                             {% for item in content_submenu %}
33                             <li><a href="{{ item.url }}">{{ item.title }}</a></li>
34                             {% endfor %}
35                         </ul>
36                     </div>
37                     {% endif %}
38                 {% endblock %}
39                 {% block content %}
40                 {{ content }}
41                 {% endblock %}
42             </div>
43             <div id="footer">
44                 <p>Copyright &copy; 2008 - <a href="mailto:iDunno@sommitrealweird.co.uk">Brett Parker</a></p>
45             </div>
46         </div>
47     </body>
48 </html>