Omphaloskepsis-2/layouts/partials/cv/organisations/recursive-parents.html
2023-10-03 13:08:35 +01:00

12 lines
332 B
HTML

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