{{ with $scratch.core }}<aclass="edit-button"target="_blank"href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ index . 0 }}/">ADD_{{ index . 0 | upper }}</a>{{ end }}
{{ with $scratch.mantle }}<aclass="edit-button"target="_blank"href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ index . 0 }}/">ADD_{{ index . 0 | upper }}</a>{{ end }}
{{ with $scratch.crust }}<aclass="edit-button"target="_blank"href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ index . 0 }}/">ADD_{{ index . 0 | upper }}</a>{{ end }}
{{ if not $scratch.core }}<aclass="edit-button"target="_blank"href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ $currentDir }}">ADD_{{ substr $currentDir 0 -1 | upper }}</a>{{ end }}
<labelfor="toggly0"tabindex="1"><spanclass="sup">cf. </span><ahref="{{ with (index $scratch.is_in 0) }}{{ .RelPermalink }}{{ end }}{{ if eq hugo.Environment "offline"}}index.html{{end}}">{{ with index $scratch.is_in 0 }}<i>{{ .Title }}</i></a> {{ end }}</label>
<divclass="hiddendiv">
<ulclass="mt-4">
{{ range after 1 $scratch.is_in }}
<li><ahref="{{ .RelPermalink }}{{ if eq hugo.Environment "offline"}}index.html{{end}}"><i>{{ .Title }}</i></a></li>
{{ end }}
</ul>
</div>
</div>
{{ else }}
<ahref="{{ with (index $scratch.is_in 0) }}{{ .RelPermalink }}{{ end }}{{ if eq hugo.Environment "offline"}}index.html{{end}}"><spanclass="supt">{{ with (index $scratch.is_in 0) }}</span><i>{{ .Title }}</i></a>{{ end }}
<labelfor="toggly1"tabindex="1"><spanclass="sup">cf. </span><ahref="{{ with (index $is_in_is_in 0) }}{{ .RelPermalink }}{{ end }}{{ if eq hugo.Environment "offline"}}index.html{{end}}">{{ with (index $is_in_is_in 0) }}<i>{{ .Title }}</i></a> {{ end }}</label>
<divclass="hiddendiv">
<ulclass="mt-4">
{{ range after 1 $is_in_is_in }}
<li><ahref="{{ .RelPermalink }}{{ if eq hugo.Environment "offline"}}index.html{{end}}"><i>{{ .Title }}</i></a></li>
{{ end }}
</ul>
</div>
</div>
{{ else }}
{{ $home := index $is_in_is_in 0 }}
<ahref="{{ $home.RelPermalink }}{{ if eq hugo.Environment "offline"}}index.html{{end}}"><i>{{ $home.Title }}</i></a>
{{ end }}
{{ with gt (len $scratch.is_in) 1 }}
»
<divclass="ddmenu">
<inputid="toggly"type="checkbox">
<labelfor="toggly"tabindex="1"><spanclass="sup">cf. </span><ahref="{{ with (index $scratch.is_in 0) }}{{ .RelPermalink }}{{ end }}{{ if eq hugo.Environment "offline"}}index.html{{end}}">{{ with (index $scratch.is_in 0) }}<i>{{ .Title }}</i></a> {{ end }}</label>
<divclass="hiddendiv">
<ulclass="mt-4">
{{ range after 1 $scratch.is_in }}
<li><ahref="{{ .RelPermalink }}{{ if eq hugo.Environment "offline"}}index.html{{end}}"><i>{{ .Title }}</i></a></li>
{{ end }}
</ul>
</div>
</div>
{{ else }}» <ahref="{{ with (index $scratch.is_in 0) }}{{ .RelPermalink }}{{ end }}{{ if eq hugo.Environment "offline"}}index.html{{end}}">{{ with (index $scratch.is_in 0) }}<i>{{ .Title }}</i></a>{{ end }}
{{ 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>
{{ $s := partialCached "scratch.html" . }}
{{ $noTriad := (slice) }}
{{ range $p := .Site.RegularPages }}
{{ $scratch := $s.Get (printf "/%s" $p.File) }}
{{ if eq $scratch.depth "core" }}
<divclass="sitemap"><divclass="{{ with $p.File }}{{ if eq $currentDir .Dir }}highline{{ end }}{{ end }}"><ahref="{{- $p.RelPermalink -}}{{- if eq hugo.Environment "offline"-}}index.html{{-end-}}"{{-with$p.Title}}title="{{- $p.Title -}}"{{-end-}}><spanclass="sup">{{- substr $p.File.Dir 0 -1 -}}⁄</span>{{- $p.Title -}}</a></div>
{{ range $coreKid := $scratch.has_children }}
<divclass="sitemap"><ahref="{{- $coreKid.RelPermalink -}}{{- if eq hugo.Environment "offline"-}}index.html{{-end-}}"{{-with$coreKid.Title}}title="{{- $coreKid.Title -}}"{{-end-}}><divclass="{{ with $coreKid.File }}{{ if eq $currentDir .Dir }}highline{{ end }}{{ end }}"><spanclass="sup">{{- substr $coreKid.File.Dir 0 -1 -}}⁄</span>{{- $coreKid.Title -}}</a></div>
{{ 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>
{{ end }}
</div>
{{ end }}
{{ else if not (in (slice "core" "mantle" "crust") $scratch.depth)}}
{{ $noTriad = $noTriad | append $p }}
{{ else }}
</div>
{{ end }}
</div>
{{ end }}
{{ else if not (in (slice "core" "mantle" "crust") $scratch.depth)}}
{{ $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>
{{ 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>
{{ with $scratch.core }}<aclass="edit-button"target="_blank"href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ index . 0 }}/">ADD_{{ index . 0 | upper }}</a>{{ end }}
{{ with $scratch.mantle }}<aclass="edit-button"target="_blank"href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ index . 0 }}/">ADD_{{ index . 0 | upper }}</a>{{ end }}
{{ with $scratch.crust }}<aclass="edit-button"target="_blank"href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ index . 0 }}/">ADD_{{ index . 0 | upper }}</a>{{ end }}
{{ if not $scratch.core }}<aclass="edit-button"target="_blank"href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ $currentDir }}">ADD_{{ substr $currentDir 0 -1 | upper }}</a>{{ end }}
{{ with $scratch.core }}<aclass="edit-button"target="_blank"href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ index . 0 }}/">ADD_{{ index . 0 | upper }}</a>{{ end }}
{{ with $scratch.mantle }}<aclass="edit-button"target="_blank"href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ index . 0 }}/">ADD_{{ index . 0 | upper }}</a>{{ end }}
{{ with $scratch.crust }}<aclass="edit-button"target="_blank"href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ index . 0 }}/">ADD_{{ index . 0 | upper }}</a>{{ end }}
{{ if not $scratch.core }}<aclass="edit-button"target="_blank"href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ $currentDir }}">ADD_{{ substr $currentDir 0 -1 | upper }}</a>{{ end }}
<labelfor="toggly0"tabindex="1"><spanclass="sup">cf. </span><ahref="{{ with (index $scratch.is_in 0) }}{{ .RelPermalink }}{{ end }}{{ if eq hugo.Environment "offline"}}index.html{{end}}">{{ with index $scratch.is_in 0 }}<i>{{ .Title }}</i></a> {{ end }}</label>
<divclass="hiddendiv">
<ulclass="mt-4">
{{ range after 1 $scratch.is_in }}
<li><ahref="{{ .RelPermalink }}{{ if eq hugo.Environment "offline"}}index.html{{end}}"><i>{{ .Title }}</i></a></li>
{{ end }}
</ul>
</div>
</div>
{{ else }}
<ahref="{{ with (index $scratch.is_in 0) }}{{ .RelPermalink }}{{ end }}{{ if eq hugo.Environment "offline"}}index.html{{end}}"><spanclass="supt">{{ with (index $scratch.is_in 0) }}{{ substr .Title 0 1 }}</span><i>{{ substr .Title 1 }}</i></a>{{ end }}
<labelfor="toggly0"tabindex="1"><spanclass="sup">cf. </span><ahref="{{ with (index $scratch.is_in 0) }}{{ .RelPermalink }}{{ end }}{{ if eq hugo.Environment "offline"}}index.html{{end}}">{{ with index $scratch.is_in 0 }}<i>{{ .Title }}</i></a> {{ end }}</label>
<divclass="hiddendiv">
<ulclass="mt-4">
{{ range after 1 $scratch.is_in }}
<li><ahref="{{ .RelPermalink }}{{ if eq hugo.Environment "offline"}}index.html{{end}}"><i>{{ .Title }}</i></a></li>
{{ end }}
</ul>
</div>
</div>
{{ else }}
<ahref="{{ with (index $scratch.is_in 0) }}{{ .RelPermalink }}{{ end }}{{ if eq hugo.Environment "offline"}}index.html{{end}}"><spanclass="supt">{{ with (index $scratch.is_in 0) }}{{ substr .Title 0 1 }}</span><i>{{ substr .Title 1 }}</i></a>{{ end }}
<labelfor="toggly1"tabindex="1"><spanclass="sup">cf. </span><ahref="{{ with (index $is_in_is_in 0) }}{{ .RelPermalink }}{{ end }}{{ if eq hugo.Environment "offline"}}index.html{{end}}">{{ with (index $is_in_is_in 0) }}<i>{{ .Title }}</i></a> {{ end }}</label>
<divclass="hiddendiv">
<ulclass="mt-4">
{{ range after 1 $is_in_is_in }}
<li><ahref="{{ .RelPermalink }}{{ if eq hugo.Environment "offline"}}index.html{{end}}"><i>{{ .Title }}</i></a></li>
<labelfor="toggly1"tabindex="1"><spanclass="sup">cf. </span><ahref="{{ with (index $is_in_is_in 0) }}{{ .RelPermalink }}{{ end }}{{ if eq hugo.Environment "offline"}}index.html{{end}}">{{ with (index $is_in_is_in 0) }}<i>{{ .Title }}</i></a> {{ end }}</label>
<divclass="hiddendiv">
<ulclass="mt-4">
{{ range after 1 $is_in_is_in }}
<li><ahref="{{ .RelPermalink }}{{ if eq hugo.Environment "offline"}}index.html{{end}}"><i>{{ .Title }}</i></a></li>
<labelfor="toggly"tabindex="1"><spanclass="sup">cf. </span><ahref="{{ with (index $scratch.is_in 0) }}{{ .RelPermalink }}{{ end }}{{ if eq hugo.Environment "offline"}}index.html{{end}}">{{ with (index $scratch.is_in 0) }}<i>{{ .Title }}</i></a> {{ end }}</label>
<divclass="hiddendiv">
<ulclass="mt-4">
{{ range after 1 $scratch.is_in }}
<li><ahref="{{ .RelPermalink }}{{ if eq hugo.Environment "offline"}}index.html{{end}}"><i>{{ .Title }}</i></a></li>
{{ end }}
</ul>
</div>
</div>
{{ else }}» <ahref="{{ with (index $scratch.is_in 0) }}{{ .RelPermalink }}{{ end }}{{ if eq hugo.Environment "offline"}}index.html{{end}}">{{ with (index $scratch.is_in 0) }}<i>{{ .Title }}</i></a>{{ end }}
<labelfor="toggly"tabindex="1"><spanclass="sup">cf. </span><ahref="{{ with (index $scratch.is_in 0) }}{{ .RelPermalink }}{{ end }}{{ if eq hugo.Environment "offline"}}index.html{{end}}">{{ with (index $scratch.is_in 0) }}<i>{{ .Title }}</i></a> {{ end }}</label>
<divclass="hiddendiv">
<ulclass="mt-4">
{{ range after 1 $scratch.is_in }}
<li><ahref="{{ .RelPermalink }}{{ if eq hugo.Environment "offline"}}index.html{{end}}"><i>{{ .Title }}</i></a></li>
{{ end }}
</ul>
</div>
</div>
{{ else }}» <ahref="{{ with (index $scratch.is_in 0) }}{{ .RelPermalink }}{{ end }}{{ if eq hugo.Environment "offline"}}index.html{{end}}">{{ with (index $scratch.is_in 0) }}<i>{{ .Title }}</i></a>{{ end }}