diff options
author | Dan McGee <dan@archlinux.org> | 2012-03-24 18:24:47 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-03-24 18:24:47 +0100 |
commit | 20198e67ff37565932bc9b036bb678e8243d46c5 (patch) | |
tree | 6ba2fa9658fabdba1f74dde25285b23cd3137fef /templates/public/download.html | |
parent | 60c8c00c4f7c2deddcfb1cade8e48d56dca2e9ad (diff) | |
download | archweb-20198e67ff37565932bc9b036bb678e8243d46c5.tar.gz archweb-20198e67ff37565932bc9b036bb678e8243d46c5.tar.xz |
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>
Diffstat (limited to 'templates/public/download.html')
-rw-r--r-- | templates/public/download.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/public/download.html b/templates/public/download.html index d244ec7..a3ff2a3 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> |