From 20198e67ff37565932bc9b036bb678e8243d46c5 Mon Sep 17 00:00:00 2001 From: Dan McGee <dan@archlinux.org> Date: Sat, 24 Mar 2012 12:24:47 -0500 Subject: Begin removal of cdnprefix tag This starts the removal of this code I wrote a while ago in favor of the now core Django static files application and the helpful static template tag. Signed-off-by: Dan McGee <dan@archlinux.org> --- templates/public/download.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'templates/public/download.html') diff --git a/templates/public/download.html b/templates/public/download.html index d244ec75..a3ff2a37 100644 --- a/templates/public/download.html +++ b/templates/public/download.html @@ -1,6 +1,7 @@ {% extends "base.html" %} -{% load cache cdn %} +{% load cache %} {% load url from future %} +{% load static from staticfiles %} {% block title %}Arch Linux - Downloads{% endblock %} {% block navbarclass %}anb-download{% endblock %} @@ -125,7 +126,7 @@ title="Release Engineering ISO download">Download snapshots</a></li> <li><a href="{{ releng_pxeboot_url }}" title="Arch Linux Netboot Live System">Boot latest snapshots over the network</a> - <img width="16" height="16" src="{% cdnprefix %}/media/new.png" alt="New"/></li> + <img width="16" height="16" src="{% static "new.png" %}" alt="New"/></li> <li><a href="{% url 'releng-test-overview' %}" title="Release Engineering ISO feedback">Feedback</a></li> </ul> -- cgit v1.2.3-2-g168b