diff gpp/templates/weblinks/view_links.html @ 312:88b2b9cb8c1f

Fixing #142; cut over to the django.contrib.staticfiles app.
author Brian Neal <bgneal@gmail.com>
date Thu, 27 Jan 2011 02:56:10 +0000
parents daa2916f5b34
children
line wrap: on
line diff
--- a/gpp/templates/weblinks/view_links.html	Thu Jan 20 04:40:14 2011 +0000
+++ b/gpp/templates/weblinks/view_links.html	Thu Jan 27 02:56:10 2011 +0000
@@ -2,11 +2,11 @@
 {% load url from future %}
 {% block title %}Web Links: {{ category.title }}{% endblock %}
 {% block weblinks_css %}
-<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/tab-nav.css" />
-<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/pagination.css" />
+<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/tab-nav.css" />
+<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/pagination.css" />
 {% endblock %}
 {% block weblinks_js %}
-<script type="text/javascript" src="{{ MEDIA_URL }}js/weblinks.js"></script>
+<script type="text/javascript" src="{{ STATIC_URL }}js/weblinks.js"></script>
 {% endblock %}
 {% block weblinks_content %}
 <h3>Category: {{ category.title }}</h3>