14 lines
337 B
HTML
14 lines
337 B
HTML
<!--. is .c-->
|
|
<!--$ is .g-->
|
|
|
|
{{ $scratch := .g.Scratch }}
|
|
{{ if .c.Parent }}
|
|
{{ if ne .c.Parent.Type "cv/organisations" }}
|
|
{{ with .c.Parent }}
|
|
{{ partial "cv/organisations/recursive-parents.html" (dict "c" . "g" $.g ) }}
|
|
{{ end }}
|
|
{{ else }}
|
|
{{ $scratch.Set "top-level-parent" .c.Parent }}
|
|
{{ end }}
|
|
{{ end }}
|