X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/d4b37caed377b2739b82a3ac6e002f008d2616bd..5f6086698809e16bfe5c6c5316d1ed687cf56dc9:/templates/base.html diff --git a/templates/base.html b/templates/base.html index 957d995..cb3a718 100644 --- a/templates/base.html +++ b/templates/base.html @@ -4,6 +4,7 @@ <head> <title>{% block title %}{{ title }}{% endblock %}</title> <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}style/main.css" /> + {% block extrahead %}{% endblock %} </head> <body> <div id="page"> @@ -12,26 +13,49 @@ <h1>SommitRealWeird</h1> </div> <div id="menu"> - {% block meny %} + {% block menu %} <ul> - <li>Home</li> - <li>Development</li> - <li>Links</li> - <li>People</li> - <li>CSS Examples</li> - <li>Photos</li> - <li>Blog</li> + <li><a href="/">Home</a></li> + {% for item in content_menu %} + <li><a href="{{ item.url }}">{{ item.title }}</a></li> + {% endfor %} + <li><a href="/photo/">Photos</a></li> + <li><a href="/blog/">Blog</a></li> </ul> {% endblock %} </div> </div> <div id="content"> + {% block breadcrumb %} + <div id="breadcrumb"> + <p> + {% for item in content_breadcrumb %} + {% if not forloop.last %} + <a href="{{ item.url }}">{{ item.title }}</a> > + {%else %} + {{ item.title }} + {% endif %} + {% endfor %} + </p> + </div> + {% endblock %} + {% block submenu %} + {% if content_submenu %} + <div id="submenu"> + <ul> + {% for item in content_submenu %} + <li><a href="{{ item.url }}">{{ item.title }}</a></li> + {% endfor %} + </ul> + </div> + {% endif %} + {% endblock %} {% block content %} {{ content }} {% endblock %} </div> <div id="footer"> - <p>Copyright © 2008 - <a href="mailto:iDunno@sommitrealweird.co.uk">Brett Parker</a></p> + <p>Copyright © 2008-2013 - <a href="mailto:iDunno@sommitrealweird.co.uk">Brett Parker</a></p> </div> </div> </body>