projects
/
sommitrealweird.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changes to make it work with django 1.11 and python3
[sommitrealweird.git]
/
templates
/
base.html
diff --git
a/templates/base.html
b/templates/base.html
index ee565e117bc45884d7d802a130bce276e1ed4e5c..eacc07e432fe9f08b4a0da82afccfb555e9f6afb 100644
(file)
--- 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>
<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">
</head>
<body>
<div id="page">
@@
-54,7
+56,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
-2017
- <a href="mailto:iDunno@sommitrealweird.co.uk">Brett Parker</a></p>
</div>
</div>
</body>
</div>
</div>
</body>