swerc

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

commit 100d73e3931958b8f9467006f989bb40eeef8f79
parent 1c587162e0454c840acfe38e1de4f53c0ad6cbee
Author: uriel@localhost.localdomain <unknown>
Date:   Sun,  9 Aug 2009 21:02:42 +0200

Fix sitemap.tpl when $sitedir is an absolute path. Thanks again to arg for reporting, tracking, and fixing this bug!
Diffstat:
tpl/sitemap.tpl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tpl/sitemap.tpl b/tpl/sitemap.tpl @@ -17,7 +17,7 @@ fn listDir { d=$1 dirfilter=$saveddf if(test -f $d/_werc/config) - . ./$d/_werc/config + . $d/_werc/config if(~ $#perm_redir_to 0) { echo '<ul class="sitemap-list">'