diff --git a/tpl/sitemap.tpl b/tpl/sitemap.tpl index 8570169..c83d015 100644 --- a/tpl/sitemap.tpl +++ b/tpl/sitemap.tpl @@ -14,26 +14,35 @@ fn get_mdate { echo $t(6)^'-'^$t(2)^'-'^$t(3) } +fn get_children { + children = `{ls -dF $d^*/ $d^*.md $d^*.html $d^*.txt >[2]/dev/null | sed $dirfilter} + echo $children +} + fn listDir { d=$1 dirfilter=$saveddf + if(test -f $d/_werc/config) . $d/_werc/config if(~ $#perm_redir_to 0) { echo '