projects
/
sommitrealweird.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable CSRF and Comment Moderation
[sommitrealweird.git]
/
templates
/
base.html
diff --git
a/templates/base.html
b/templates/base.html
index f76b66af50f824d8e45e7ea37980b49cd3a8671f..e604f4058a8d3044b8489fc030a93d69c9190973 100644
(file)
--- 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" />
<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">
</head>
<body>
<div id="page">
@@
-18,13
+19,26
@@
{% for item in content_menu %}
<li><a href="{{ item.url }}">{{ item.title }}</a></li>
{% endfor %}
{% for item in content_menu %}
<li><a href="{{ item.url }}">{{ item.title }}</a></li>
{% endfor %}
- <li>
Photos
</li>
- <li>
Blog
</li>
+ <li>
<a href="/photo/">Photos</a>
</li>
+ <li>
<a href="/blog/">Blog</a>
</li>
</ul>
{% endblock %}
</div>
</div>
<div id="content">
</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">
{% block submenu %}
{% if content_submenu %}
<div id="submenu">
@@
-41,7
+55,7
@@
{% endblock %}
</div>
<div id="footer">
{% endblock %}
</div>
<div id="footer">
- <p>Copyright © 2008 - <a href="mailto:iDunno@sommitrealweird.co.uk">Brett Parker</a></p>
+ <p>Copyright © 2008
, 2009, 2010, 2011, 2012
- <a href="mailto:iDunno@sommitrealweird.co.uk">Brett Parker</a></p>
</div>
</div>
</body>
</div>
</div>
</body>