summaryrefslogtreecommitdiffstats
path: root/templates/public
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-03-12 04:15:11 +0100
committerDan McGee <dan@archlinux.org>2010-03-20 18:09:21 +0100
commitcb6df87f948756e8d680a4bb594698ae93a9aad0 (patch)
treef7e01e64a1eeb3c28af1061be990ec0a37451551 /templates/public
parent6c0d7e73c47ca16c3bb4bd205dd09f46a11bf938 (diff)
downloadarchweb-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/public')
-rw-r--r--templates/public/index.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/public/index.html b/templates/public/index.html
index e708e4e..9ba1380 100644
--- a/templates/public/index.html
+++ b/templates/public/index.html
@@ -24,7 +24,7 @@
to get your feet wet. Also glance through our <a href="http://wiki.archlinux.org">wiki</a>
if you want to learn more about Arch.
</p><p style="text-align: right">
- <a href="/about/"><span style="font-size:x-small">Learn more...</span></a>
+ <a href="{% url page-about %}"><span style="font-size:x-small">Learn more...</span></a>
</p>
</div>
<br /><br />
@@ -40,7 +40,7 @@
<p class="news">{{ news.content|striptags|truncatewords:60 }}</p>
<br />
{% endfor %}
- <span style="float:right;font-size:x-small"><a href="/news/">More News...</a></span>
+ <span style="float:right;font-size:x-small"><a href="{% url news-list %}">More News...</a></span>
<br /><br />
</div>
{% endblock %}
@@ -64,7 +64,7 @@
</tr>
{% endfor %}
<tr>
- <td style="font-size:x-small"><br /><a href="/feeds/">More Feeds...</a></td>
+ <td style="font-size:x-small"><br /><a href="{% url feeds-list %}">More Feeds...</a></td>
<td style="text-align:right;font-size:x-small"><br /><a href="/packages/?sort=-last_update">More Updates...</a></td>
</tr>
</table>
@@ -74,7 +74,7 @@
<h3>Dev Links:</h3>
<ul class="links">
<li><a href="/devel/">Dev 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>
@@ -90,14 +90,14 @@
</ul>
<h3>Support Arch:</h3>
<ul class="links">
- <li><a href="/donate/">Donate</a></li>
+ <li><a href="{% url page-donate %}">Donate</a></li>
<li><a href="http://schwag.archlinux.ca/"
title="USB keys, Jewellery, case badges">Arch Schwag</a></li>
<li><a href="http://www.zazzle.com/archlinux*"
title="T-shirts, mugs, mouse pads, hoodies, posters, skateboards, shoes, etc.">Schwag via Zazzle</a></li>
<li><a href="http://www.freewear.org/?page=list_items&amp;org=Archlinux"
title="T-shirts">Schwag via Freewear</a></li>
- <li><a href="/art/">Logos &amp; Artwork</a></li>
+ <li><a href="{% url page-art %}">Logos &amp; Artwork</a></li>
</ul>
<h3>Community Links:</h3>
<ul class="links">
@@ -111,11 +111,11 @@
</ul>
<h3>Development:</h3>
<ul class="links">
- <li><a href="/developers/">Developers</a></li>
- <li><a href="/trustedusers/">Trusted Users</a></li>
- <li><a href="/fellows/">Fellows</a></li>
+ <li><a href="{% url page-devs %}">Developers</a></li>
+ <li><a href="{% url page-tus %}">Trusted Users</a></li>
+ <li><a href="{% url page-fellows %}">Fellows</a></li>
<li><a href="http://bugs.archlinux.org">Bug Tracker</a></li>
- <li><a href="/svn/">SVN</a></li>
+ <li><a href="{% url page-svn %}">SVN</a></li>
<li><a href="http://projects.archlinux.org">Projects</a></li>
</ul>
<a href="http://www.velocitynetwork.net/?hosting_by=ArchLinux" title="velocity network"><img src="/media/vnet_button.png" class="" title="" alt="velocity network - it's about time" /></a>