From 1b56834736d170ba40b45516b0c0e7e35ee24862 Mon Sep 17 00:00:00 2001 From: uriel Date: Sat, 25 Jul 2009 01:11:15 +0000 Subject: [PATCH] Don't include domain in sitemap links, this avoid breaking when port is not 80. --- tpl/sitemap.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpl/sitemap.tpl b/tpl/sitemap.tpl index ac03874..8f0feeb 100644 --- a/tpl/sitemap.tpl +++ b/tpl/sitemap.tpl @@ -48,7 +48,7 @@ fn listDir { if(! ~ $#desc 0 && ! ~ $desc '') desc=' - '$"desc n=`{echo /$u|sed 's/[\-_]/ /g; s,.*/([^/]+)/?$,\1,'} - echo '
  • '^$"n^'' $"desc '
  • ' + echo '
  • '^$"n^'' $"desc '
  • ' echo $base_url^$u >> $tmpfile if(test -d $i) @{ listDir $i }