Commits

Albert O'Connor committed f4b0450

Error pagify.

  • Participants
  • Parent commits c30385d

Comments (0)

Files changed (3)

go_opendata/templates/400.html

-{% extends "base.html" %}
-
-{% block contents %}
-<article>
-<div class="grid_16 alpha omega">
-    <h1>Not Found!</h1>
-    <p>404ed.</p>
-</div>
-</article>
-{% endblock contents %}

go_opendata/templates/404.html

+{% extends "base.html" %}
+
+{% block contents %}
+<article>
+<div class="grid_16 alpha omega">
+    <h1>Not Found!</h1>
+    <p>404ed.</p>
+</div>
+</article>
+{% endblock contents %}

go_opendata/templates/base.html

 {% extends "html5hd-base.html" %}
+{% load static %}
 
 {% load url from future %}
 
 {% endblock%}
 
 {% block default_css %}
-<link rel="stylesheet" href="{{ STATIC_URL }}css/default.css">
-<link rel="stylesheet" href="{{ STATIC_URL }}css/960_16_col.css">
+<link rel="stylesheet" href="{% get_static_prefix %}css/default.css">
+<link rel="stylesheet" href="{% get_static_prefix %}css/960_16_col.css">
 {% endblock default_css%}
 
 {% block head_css %}
-<link rel="stylesheet" href="{{ STATIC_URL }}css/good.css" />    
+<link rel="stylesheet" href="{% get_static_prefix %}css/good.css" />    
 {% endblock %}
 
 {% block head_js %}
     <div class="container_16">
     {% block header %}
     <div class="alpha grid_8">
-        <a href="{% url 'home' %}"><img src="{{ STATIC_URL }}img/goodlogo.png" alt="GO Open Data Conference"/></a>
+        <a href="{% url 'home' %}"><img src="{% get_static_prefix %}img/goodlogo.png" alt="GO Open Data Conference"/></a>
     </div>
     <div class="omega grid_8 right tagline">
         Coming May 2013 to the Region of Waterloo