{{ define "main" }} {{- $slug := .Slug -}} {{- $programsForTeacher := slice -}} {{ if isset site.Taxonomies "teachers" -}} {{ $programsForTeacher = index site.Taxonomies.teachers $slug}} {{- end }} {{- $programsForAdministrator := slice -}} {{ if isset site.Taxonomies "administrators" -}} {{ $programsForAdministrator = index site.Taxonomies.administrators $slug}} {{- end }} {{ $author := site.GetPage (printf "/authors/%s" $slug) }} {{ $researcher := site.GetPage (printf "/researchers/%s" $slug) }} {{ $posts := where $author.Pages "Section" "posts" }} {{ $publications := where $researcher.Pages "Section" "publications" }} {{ $papers := where $researcher.Pages "Section" "papers" }} {{ partial "persons/hero-single.html" . }}
{{ safeHTML $role }}
{{ safeHTML $program.Title }}