Omphaloskepsis-2/layouts/partials/get_all_organisations.html

7 lines
222 B
HTML

{{ $organisations := slice }}
{{ range .Site.Pages }}
{{ if .IsDescendant ( .GetPage "cv/organisations" ) }}
{{ $organisations = $organisations | append . }}
{{ end }}
{{ end }}
{{ return $organisations }}