{{ define "main" }} {{ partial "locations/hero-single.html" . }}
{{ with .Params.summary }}{{ end }} {{ partial "locations/summary.html" (dict "context" . "block_wrapped" true ) }} {{ partial "contents/list.html" . }}
{{ with .Params.diplomas }} {{/* Get diplomas collection from diploma's paths */}} {{ $diplomas := slice }} {{ range . }} {{ with site.GetPage (printf "/diplomas/%s" .path) }} {{ $diplomas = $diplomas | append . }} {{ end }} {{ end }} {{ partial "locations/diplomas.html" ( dict "diplomas" $diplomas ) }} {{ end }} {{ partial "commons/pagination.html" . }}
{{ if and .Params.contact_details.geolocation.longitude .Params.contact_details.geolocation.latitude }} {{ partial "locations/map.html" . }} {{ end }} {{ end }}