{{ $s := partialCached "scratch.html" . }} {{ $currentNode := . }} {{ $currentDir := "" }} {{ with .File }} {{ $currentDir = .Dir }} {{ end }} {{ $currentFile := (printf "/%s" .File) }} {{ $scratch := $s.Get $currentFile }}
{{ substr $currentDir 0 -1 }}⁄{{ substr .Title 0 1 }}{{ substr .Title 1 }}
{{ if ne (trim .Page.TableOfContents "\n") "" }} {{ .Page.TableOfContents }} {{ end }}
{{ if (not (eq $scratch.depth "crust")) }}
has {{ index $scratch.has 1 }}⁄
{{ range index $currentNode.Params (printf "has_%s" (index $scratch.has 1) )}} {{ with $.GetPage (printf "%s%s" (printf "/%s/" (index $scratch.has 0)) . ) }} {{ end }} {{ end }} {{ end }} {{ if eq $scratch.depth "crust" }}
in {{ index $scratch.in 1 }}⁄
{{ range $scratch.is_in }} {{ end }} {{ end }}