diff --git a/tpl/sitemap.tpl b/tpl/sitemap.tpl index c83d015..b99325f 100644 --- a/tpl/sitemap.tpl +++ b/tpl/sitemap.tpl @@ -15,6 +15,7 @@ fn get_mdate { } fn get_children { + d=$1 children = `{ls -dF $d^*/ $d^*.md $d^*.html $d^*.txt >[2]/dev/null | sed $dirfilter} echo $children } @@ -27,29 +28,51 @@ fn listDir { . $d/_werc/config if(~ $#perm_redir_to 0) { - echo '' + } } }