summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
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>