diff options
author | Dan McGee <dan@archlinux.org> | 2010-03-12 04:15:11 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-03-20 18:09:21 +0100 |
commit | cb6df87f948756e8d680a4bb594698ae93a9aad0 (patch) | |
tree | f7e01e64a1eeb3c28af1061be990ec0a37451551 /templates/base.html | |
parent | 6c0d7e73c47ca16c3bb4bd205dd09f46a11bf938 (diff) | |
download | archweb-cb6df87f948756e8d680a4bb594698ae93a9aad0.tar.gz archweb-cb6df87f948756e8d680a4bb594698ae93a9aad0.tar.xz |
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.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/base.html b/templates/base.html index 39b2a62..cc5fadd 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> |