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