]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - templates/base.html
Changes to make it work with django 1.11 and python3
[sommitrealweird.git] / templates / base.html
index e604f4058a8d3044b8489fc030a93d69c9190973..eacc07e432fe9f08b4a0da82afccfb555e9f6afb 100644 (file)
@@ -3,7 +3,8 @@
 <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>
@@ -55,7 +56,7 @@
                 {% endblock %}
             </div>
             <div id="footer">
-                <p>Copyright &copy; 2008, 2009, 2010, 2011, 2012 - <a href="mailto:iDunno@sommitrealweird.co.uk">Brett Parker</a></p>
+                <p>Copyright &copy; 2008-2017 - <a href="mailto:iDunno@sommitrealweird.co.uk">Brett Parker</a></p>
             </div>
         </div>
     </body>