diff --git a/tpl/sitemap.tpl b/tpl/sitemap.tpl
index 2d57ee1..75e3cdb 100644
--- a/tpl/sitemap.tpl
+++ b/tpl/sitemap.tpl
@@ -31,7 +31,7 @@ fn listDir {
siblings=`{get_children $d}
numsiblings = $#siblings
if(! ~ $numsiblings 0 && ! ~ $numsiblings 1){
- echo '
'
+ echo ''
}
for(i in $siblings) {
ownchildren= `{get_children $i}
@@ -42,7 +42,7 @@ fn listDir {
## Open list?
if(! ~ $numsiblings 1){
- echo '- '
+ echo '
- '
}
if(! ~ $#filename 0 && ! ~ $filename '') {
@@ -51,7 +51,7 @@ fn listDir {
}
if not {
if(! ~ $"dirname $filtereddirs)
- echo ''^$"dirname^''
+ echo ''^$"dirname^''
}
## echo $numsiblings' '$numownchildren
@@ -62,7 +62,8 @@ fn listDir {
echo '
'
}
if not {
- echo '/'
+ # echo '/'
+ echo ' '
}
echo $base_url^$url >> $tmpfile