]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - templates/base.html
Update to use a context processor for the MEDIA_URL rather than having to pass it...
[sommitrealweird.git] / templates / base.html
index b471f8d44bd65c5f04509270b51fb5c40daf753e..957d995a225d6ddb96c6fe1e131a7de8982d7e2a 100644 (file)
@@ -3,7 +3,7 @@
 <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" />
+        <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}style/main.css" />
     </head>
     <body>
         <div id="page">
     </head>
     <body>
         <div id="page">