summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-03-11 21:15:11 -0600
committerDan McGee <dan@archlinux.org>2010-03-20 12:09:21 -0500
commitcb6df87f948756e8d680a4bb594698ae93a9aad0 (patch)
treef7e01e64a1eeb3c28af1061be990ec0a37451551 /templates/base.html
parent6c0d7e73c47ca16c3bb4bd205dd09f46a11bf938 (diff)
Switch some hardcoded urls to url tag usage
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/base.html b/templates/base.html
index 39b2a625..cc5fadd2 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -7,7 +7,7 @@
<link rel="stylesheet" type="text/css" href="/media/arch.css" />
<link rel="icon" type="image/x-icon" href="/media/favicon.ico" />
<link rel="shortcut icon" type="image/x-icon" href="/media/favicon.ico" />
- <link rel="search" type="application/opensearchdescription+xml" href="/opensearch/packages/" title="Arch Linux Packages" />
+ <link rel="search" type="application/opensearchdescription+xml" href="{% url opensearch-packages %}" title="Arch Linux Packages" />
{% block head %}
{% endblock %}
</head>
@@ -24,7 +24,7 @@
<li><a href="http://wiki.archlinux.org/">Wiki</a></li>
<li><a href="http://bugs.archlinux.org/">Bugs</a></li>
<li><a href="http://aur.archlinux.org/">AUR</a></li>
- <li{% ifequal path '/download/' %} class="selected"{% endifequal %}><a href="/download/">Download</a></li>
+ <li{% ifequal path '/download/' %} class="selected"{% endifequal %}><a href="{% url page-download %}">Download</a></li>
</ul>
{% endblock %}
</div>
@@ -32,7 +32,7 @@
{% if user.is_authenticated %}
<ul>
<li><a href="/devel/">Dashboard</a></li>
- <li><a href="/news/">News</a></li>
+ <li><a href="{% url news-list %}">News</a></li>
<li><a href="/packages/signoffs/">Signoffs</a></li>
<li><a href="/todo/">Todos</a></li>
<li><a href="http://www.archlinux.org/mailman/private/arch-dev/">Archives</a></li>