#? stdtmpl | standard #proc templateTreePage(templateContext: TemplateContext, dirName: string, isSubdir: bool, paths: seq[PathObj], entries: seq[RepoTreeEntry]): string = # result = "" $templateContext.repoName - $templateContext.siteTitle

$templateContext.siteTitle: $templateContext.repoName

$templateContext.description

#if isSubdir: #end if #if isSubdir: #end if #for entry in entries: #if entry.isDir: #end if #if not entry.isDir: #end if #end for
Mode Name Size
..
$entry.mode$entry.name$entry.name$entry.size