Omphaloskepsis-2/layouts/partials/cv/organisations/recursive-parents.html

13 lines
332 B
HTML
Raw Permalink Normal View History

2022-11-11 05:48:02 +00:00
<!--. is .c-->
<!--$ is .g-->
{{ $scratch := .g.Scratch }}
{{ if .c.Parent }}
{{ if ne .c.Parent.Type "cv/organisations" }}
{{ with .c.Parent }}
{{ $scratch.Add "parents" ( slice . ) }}
2023-10-03 12:08:35 +00:00
{{ partialCached "cv/organisations/recursive-parents.html" (dict "c" . "g" $.g ) .Title }}
2022-11-11 05:48:02 +00:00
{{ end }}
{{ end }}
{{ end }}