swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit 5565a8b117628ea7bdc553a5020475ee63a7e8d2
parent 85011d3fd613ffa758c61fe9095e8f2d702a5539
Author: uriel@engel.se.cat-v.org <unknown>
Date:   Tue, 21 Oct 2008 16:31:22 +0200

Split $body into two vars, this allows to more easily retrive the intra-site path for the request as req_path, then use this to fix a bug in 404.tpl
Diffstat:
Mlib/404.tpl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/404.tpl b/lib/404.tpl @@ -1,7 +1,7 @@ <!-- To have a custom 404 page copy this template to your site's (or masterSite) _inc director and edit it as you like --> <h1>The page requested for <i> -% echo ''''$"title'''' +% echo ''''$"req_path'''' </i> doesn't exist</h1> % # TODO: Use http://www.google.com/support/webmasters/bin/answer.py?answer=100044&hl=en by default?