diff gpp/templates/home.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 2934a867c2ef
line wrap: on
line diff
--- a/gpp/templates/home.html	Thu Jan 20 04:40:14 2011 +0000
+++ b/gpp/templates/home.html	Thu Jan 27 02:56:10 2011 +0000
@@ -12,7 +12,7 @@
 <link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url 'feeds-news' %}" />
 {% endblock %}
 {% block custom_css %}
-<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/news.css" />
+<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/news.css" />
 {% endblock %}
 {% block custom_js %}
 <script type="text/javascript">
@@ -35,11 +35,11 @@
 <h2>Welcome to SurfGuitar101!</h2>
 <div class="span-9">
    <div id="home-slideshow">
-   <img src="{{ MEDIA_URL }}slideshow/image-1.jpg" alt="Slideshow Image 1" />
-   <img src="{{ MEDIA_URL }}slideshow/image-2.jpg" alt="Slideshow Image 2" />
-   <img src="{{ MEDIA_URL }}slideshow/image-3.jpg" alt="Slideshow Image 3" />
-   <img src="{{ MEDIA_URL }}slideshow/image-4.jpg" alt="Slideshow Image 4" />
-   <img src="{{ MEDIA_URL }}slideshow/image-5.jpg" alt="Slideshow Image 5" />
+   <img src="{{ STATIC_URL }}slideshow/image-1.jpg" alt="Slideshow Image 1" />
+   <img src="{{ STATIC_URL }}slideshow/image-2.jpg" alt="Slideshow Image 2" />
+   <img src="{{ STATIC_URL }}slideshow/image-3.jpg" alt="Slideshow Image 3" />
+   <img src="{{ STATIC_URL }}slideshow/image-4.jpg" alt="Slideshow Image 4" />
+   <img src="{{ STATIC_URL }}slideshow/image-5.jpg" alt="Slideshow Image 5" />
    </div>
 </div>
 <div class="span-10 last">