summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-03-24 12:24:47 -0500
committerDan McGee <dan@archlinux.org>2012-03-24 12:24:47 -0500
commit20198e67ff37565932bc9b036bb678e8243d46c5 (patch)
tree6ba2fa9658fabdba1f74dde25285b23cd3137fef /templates/base.html
parent60c8c00c4f7c2deddcfb1cade8e48d56dca2e9ad (diff)
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/base.html')
-rw-r--r--templates/base.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/base.html b/templates/base.html
index 79c7cc92..b8a5be46 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,15 +1,15 @@
-{% load url from future %}<!DOCTYPE html>
+{% load url from future %}{% load static from staticfiles %}<!DOCTYPE html>
<html lang="en">
<head>
<title>{% block title %}Arch Linux{% endblock %}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}archweb.css" media="screen, projection" />
- <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}archweb-print.css" media="print" />
- <link rel="icon" type="image/x-icon" href="{{ STATIC_URL }}favicon.ico" />
- <link rel="shortcut icon" type="image/x-icon" href="{{ STATIC_URL }}favicon.ico" />
- <link rel="apple-touch-icon" href="{{ STATIC_URL }}logos/apple-touch-icon-57x57.png" />
- <link rel="apple-touch-icon" sizes="72x72" href="{{ STATIC_URL }}logos/apple-touch-icon-72x72.png" />
- <link rel="apple-touch-icon" sizes="114x114" href="{{ STATIC_URL }}logos/apple-touch-icon-114x114.png" />
+ <link rel="stylesheet" type="text/css" href="{% static "archweb.css" %}" media="screen, projection" />
+ <link rel="stylesheet" type="text/css" href="{% static "archweb-print.css" %}" media="print" />
+ <link rel="icon" type="image/x-icon" href="{% static "favicon.ico" %}" />
+ <link rel="shortcut icon" type="image/x-icon" href="{% static "favicon.ico" %}" />
+ <link rel="apple-touch-icon" href="{% static "logos/apple-touch-icon-57x57.png" %}" />
+ <link rel="apple-touch-icon" sizes="72x72" href="{% static "logos/apple-touch-icon-72x72.png" %}" />
+ <link rel="apple-touch-icon" sizes="114x114" href="{% static "logos/apple-touch-icon-114x114.png" %}" />
<link rel="search" type="application/opensearchdescription+xml" href="{% url 'opensearch-packages' as osp %}{{ osp }}" title="Arch Linux Packages" />
{% block head %}{% endblock %}
</head>