{{ $scratch := .g.Scratch }} {{ if .c.Parent }} {{ if ne .c.Parent.Type "cv/organisations" }} {{ with .c.Parent }} {{ $scratch.Add "parents" ( slice . ) }} {{ partial "cv/organisations/recursive-parents.html" (dict "c" . "g" $.g ) }} {{ end }} {{ end }} {{ end }}