changeset 46:2c9642c7fa43

templates: Use url helper to provide the right link
author David Soria Parra <dsp@php.net>
date Tue, 17 Feb 2009 13:25:44 +0100
parents 7276388fc71b
children 5cbab8b1194c
files hgscm/templates/base.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgscm/templates/base.html	Tue Feb 17 12:54:07 2009 +0100
+++ b/hgscm/templates/base.html	Tue Feb 17 13:25:44 2009 +0100
@@ -13,7 +13,7 @@
 		<h1 id="logo"><a href="/">mercurial</a></h1>
 			
 		<ul id="nav" class="typeface-js">
-			<li><a href="about">about</a></li>
+			<li><a href="{% url about %}">about</a></li>
 			<li><a href="javascript:void(0);">download</a></li>
 			<li><a href="javascript:void(0);">extensions</a></li>
 			<li><a href="javascript:void(0);">docs</a></li>