Don't include domain in sitemap links, this avoid breaking when port is not 80.

This commit is contained in:
uriel 2009-07-25 01:11:15 +00:00
parent 59e181b036
commit 1b56834736

View File

@ -48,7 +48,7 @@ fn listDir {
if(! ~ $#desc 0 && ! ~ $desc '')
desc=' - '$"desc
n=`{echo /$u|sed 's/[\-_]/ /g; s,.*/([^/]+)/?$,\1,'}
echo '<li><a href="'$base_url$u'">'^$"n^'</a>' $"desc '</li>'
echo '<li><a href="'$u'">'^$"n^'</a>' $"desc '</li>'
echo $base_url^$u >> $tmpfile
if(test -d $i)
@{ listDir $i }