Don't include domain in sitemap links, this avoid breaking when port is not 80.
This commit is contained in:
parent
59e181b036
commit
1b56834736
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user