{{ define "singlebody" }}
Sitemap⁄{{ substr $.Site.Title 0 1 }}{{ substr $.Site.Title 1 }}
{{ $s := partialCached "scratch.html" . }} {{ $noTriad := (slice) }} {{ range $p := .Site.RegularPages }} {{ $scratch := $s.Get (printf "/%s" $p.File) }} {{ if eq $scratch.depth "core" }}
{{- substr $p.File.Dir 0 -1 -}}⁄{{- $p.Title -}} {{ range $coreKid := $scratch.has_children }}
{{- substr $coreKid.File.Dir 0 -1 -}}⁄{{- $coreKid.Title -}} {{ $scratchCKid := $s.Get (printf "/%s" $coreKid.File) }} {{ range $mantleKid := $scratchCKid.has_children }} {{ end }}
{{ end }} {{ else if not (in (slice "core" "mantle" "crust") $scratch.depth)}} {{ $noTriad = $noTriad | append $p }} {{ else }}
{{ end }} {{ end }} {{ range $noTriad }}
{{- substr .File.Dir 0 -1 -}}⁄{{- .Title -}}
{{ end }} {{ end }}