{{ $containerstyle := "py-1" }}
{{ $linkstyle := "no-underline hover:underline" }}
{{ $stats := .TreeStats }}
{{ if eq $stats.NumFolders 1 }}
{{ $stats.NumFolders }} folder
·
{{ else if gt $stats.NumFolders 1 }}
{{ $stats.NumFolders }} folders
·
{{ end }}
{{ if eq $stats.NumFiles 1 }}
{{ $stats.NumFiles }} file
{{ else if gt $stats.NumFiles 1 }}
{{ $stats.NumFiles }} files
{{ end }}