various fixes

This commit is contained in:
Ben Goldsworthy 2024-07-23 10:08:36 +02:00
parent 1fd9adcb52
commit 46bd223627
Signed by: Rumperuu
SSH key fingerprint: SHA256:e5XfzNOr9UvWpEzyLfw0GtTMZWIFh3NmxH+/qQIi3xE
29 changed files with 6093 additions and 152 deletions

View file

@ -0,0 +1,11 @@
<!--
Gets the top-level parent org of an organisation.
@params organisation The organisation to search for.
-->
{{- $organisation_page := default . ( index .Ancestors.Reverse 3 ) -}}
{{- $organisation_title := default $organisation_page.Title $organisation_page.Params.markup_title -}}
{{- return $organisation_title -}}