in ARCHIVE/OLD-from-apache-cms/lib/view.pm [191:207]
sub sitemap {
my %args = @_;
my $template = "content$args{path}";
my $file = $template;
# Find the list of files
my ($dir) = ($file =~ /^(.*)\/.*?/);
my $entries = {};
sitemapFind($dir, $entries);
my $sitemap = "<ul>\n";
$sitemap = sitemapRender($sitemap, $entries, "");
$sitemap .= "</ul>\n";
$args{sitemap} = $sitemap;
return Dotiac::DTL::Template($template)->render(\%args), html => \%args;
}