{{ range $mantleKid := $scratchCKid.has_children }}
<divclass="sitemap"><divclass="{{ with $mantleKid.File }}{{ if eq $currentDir .Dir }} highline{{ end }}{{ end }}"><ahref="{{- $mantleKid.RelPermalink -}}{{- if eq hugo.Environment "offline"-}}index.html{{-end-}}"{{-with$mantleKid.Title}}title="{{- $mantleKid.Title -}}"{{-end-}}><spanclass="sup">{{ with $mantleKid.File }}{{substr .Dir 0 -1 -}}⁄{{ end }}</span>{{- $mantleKid.Title -}}</a></div></div>
<divclass="sitemap"><divclass="{{ with $mantleKid.File }}{{ if eq $currentDir .Dir }} highline{{ end }}{{ end }}"><ahref="{{- $mantleKid.RelPermalink -}}{{- if eq hugo.Environment "offline"-}}index.html{{-end-}}"{{-with$mantleKid.Title}}title="{{- $mantleKid.Title -}}"{{-end-}}><spanclass="sup">{{ with $mantleKid.File }}{{substr .Dir 0 -1 -}}⁄{{ end }}</span>{{- $mantleKid.Title -}}</a><aclass="svedit"href="{{- printf "%sindex.html#%s"$editFilePath$mantleKid.File.UniqueID-}}">[EDIT]</a></div></div>
{{ end }}
</div>
{{ end }}
{{ else if not (in (slice "core" "mantle" "crust") $scratch.depth)}}
{{ $noTriad = $noTriad | append $p }}
{{ $noTriad = $noTriad | append $p }}
{{ else }}
</div>
{{ end }}
{{ end }}
{{ range $noTriad }}
<divclass="sitemap {{ with .File }}{{ if eq $currentDir .Dir }} highline{{ end }}{{ end }}"><ahref="{{- .RelPermalink -}}{{- if eq hugo.Environment "offline"-}}index.html{{-end-}}"{{-with.Title}}title="{{- . -}}"{{-end-}}><spanclass="sup">{{- substr .File.Dir 0 -1 -}}⁄</span>{{- .Title -}}</a></div>
<divclass="sitemap {{ with .File }}{{ if eq $currentDir .Dir }} highline{{ end }}{{ end }}"><ahref="{{- .RelPermalink -}}{{- if eq hugo.Environment "offline"-}}index.html{{-end-}}"{{-with.Title}}title="{{- . -}}"{{-end-}}><spanclass="sup">{{- substr .File.Dir 0 -1 -}}⁄</span>{{- .Title -}}</a>{{ if not (or (hasPrefix .Dir "edit") (hasPrefix .Dir "print")) }}<aclass="svedit"href="{{- printf "%sindex.html#%s"$editFilePath.File.UniqueID-}}">[EDIT]</a>{{ end }}</div>