{{ $s := partialCached "scratch.html" . }} {{ $currentFile := (printf "/%s" .File) }} {{ $scratch := $s.Get $currentFile }} {{ $is_in_ := newScratch }} {{ with eq $scratch.depth "crust" }} {{ range $scratch.is_in }} {{ range $k,$v := $s.Get (printf "/%s" .File) }} {{ if eq $k "is_in" }} {{ range $v }} {{ $is_in_.Set (printf "/%s" .File) (printf "/%s" .File) }} {{ end }} {{ end }} {{ end }} {{ end }} {{ end }} {{ $is_in_is_in := (slice) }} {{ range $is_in_.Values }} {{ $is_in_is_in = $is_in_is_in | append ($.GetPage .) }} {{ end }} {{ if eq hugo.Environment "preview" }} {{- $giteaUrl := .Site.Params.sandpointsGiteaUrl -}}
EDIT_THIS ADD_{{ with $scratch.core }}{{ index . 0 | upper }}{{ end }} ADD_{{ with $scratch.mantle }}{{ index . 0 | upper }}{{ end }} ADD_{{ with $scratch.crust }}{{ index . 0 | upper }}{{ end }} PUBLISH ?
{{ end }}