X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/23038a1b9fab906d029198fdbf02665b551c52a9..eeafdfccb63314d85802f3064b6fb904375bda03:/templates/base.html diff --git a/templates/base.html b/templates/base.html index ebd630e..eacc07e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,7 +3,9 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>{% block title %}{{ title }}{% endblock %}</title> - <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}style/main.css" /> + {% load static %} + <link rel="stylesheet" type="text/css" href="{% get_media_prefix %}style/main.css" /> + {% block extrahead %}{% endblock %} </head> <body> <div id="page"> @@ -18,8 +20,8 @@ {% 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> @@ -54,7 +56,7 @@ {% endblock %} </div> <div id="footer"> - <p>Copyright © 2008 - <a href="mailto:iDunno@sommitrealweird.co.uk">Brett Parker</a></p> + <p>Copyright © 2008-2017 - <a href="mailto:iDunno@sommitrealweird.co.uk">Brett Parker</a></p> </div> </div> </body>