{{ $s := partialCached "scratch.html" . }} {{ $currentFile := (printf "/%s" .File) }} {{ $scratch := $s.Get $currentFile }} {{ if eq hugo.Environment "preview" }} {{- $gitUrl := .Site.Params.giturl -}}
edit_this add_new_{{ $scratch.core }} add_new_{{ $scratch.mantle }} add_new_{{ $scratch.crust }} publish ?
{{ end }}