{{- $sc := .sc -}} {{- $tls := .tls -}} {{- $section_title := .section_title -}} {{- $organisation_titles := .organisation_titles -}} {{- range ( where ( ( $sc.GetPage $.tls ).Sections ) "Title" $.section_title ) -}} {{- $section_items := where ( where $sc.Site.Pages "Section" $tls ) "Parent.Title" .Title -}} {{- $organisation_items := where $section_items ".Params.organisations" "intersect" $organisation_titles -}} {{- with ( where $organisation_items ".Params.redact" "ne" true ) -}} {{- if in ( slice "Qualifications" "Awards" ) $section_title -}} {{- else -}} {{- end -}} {{- end -}} {{- end -}}