{{ 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"href="{{ $editPage.RelPermalink }}index.html?new={{ index . 0 }}">ADD_{{ index . 0 | upper }}</a>{{ end }}
{{ with $scratch.mantle }}<aclass="edit-button"href="{{ $editPage.RelPermalink }}index.html?new={{ index . 0 }}">ADD_{{ index . 0 | upper }}</a>{{ end }}
{{ with $scratch.crust }}<aclass="edit-button"href="{{ $editPage.RelPermalink }}index.html?new={{ index . 0 }}">ADD_{{ index . 0 | upper }}</a>{{ end }}
{{ if not $scratch.core }}<aclass="edit-button"href="{{ $editPage.RelPermalink }}index.html?new={{ $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 }}