{{ $logo_index := .logo_index }} {{ $options := .options }} {{ $block_index := .block_index }} {{ $id_transcription := printf "block-%d-transcription" $block_index }}
{{ $title := printf "%s %d" (i18n "blocks.organizations.title") $block_index }} {{ if .title }} {{ $title = .title }} {{ end }} {{ $aria_label := i18n "commons.maps.label" $title }}
{{- range .organizations }} {{ if .slug }} {{ with site.GetPage ( printf "/organizations/%s" .slug ) }} {{ $address_geolocation := .Params.contact_details.postal_address.geolocation }} {{ if $address_geolocation }} {{ template "organization" dict "title" .Title "url" .Permalink "logo" (index .Params $logo_index) "latitude" $address_geolocation.latitude "longitude" $address_geolocation.longitude "summary" .Params.summary "options" $options }} {{ end }} {{ end }} {{ end }} {{ end -}}