Skip to content
Snippets Groups Projects
Commit 0e8e2b9e authored by Olivia206's avatar Olivia206
Browse files

added check for organization map transcription

parent fab1c658
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
</summary>
<ul>
{{ range .organizations }}
{{ with site.GetPage .path }}
{{ with and .slug (site.GetPage .path) }}
{{ $address_geolocation := .Params.contact_details.postal_address.geolocation }}
{{ if $address_geolocation }}
<li>
......@@ -44,8 +44,7 @@
aria-label="{{ $aria_label }}"
>
{{- range .organizations }}
{{ if .slug }}
{{ with site.GetPage .path }}
{{ with and .slug (site.GetPage .path) }}
{{ $address_geolocation := .Params.contact_details.postal_address.geolocation }}
{{ if $address_geolocation }}
{{ template "organization" dict
......@@ -59,6 +58,5 @@
}}
{{ end }}
{{ end }}
{{ end }}
{{ end -}}
</div>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment