{{ $title = partial "PrepareHTML" .Params.title -}}
{{ end -}}
{{- if .Params.image -}}
{{- if and .Params.url .Params.with_link }} {{ end -}} {{- $title -}} {{- if and .Params.url .Params.with_link }} - {{ safeHTML (i18n "commons.link.blank") }} {{ end -}}
{{ with .Params.contact_details }} {{ .address.value }} {{ .zipcode.value }} {{ .city.value }} {{ end }}
{{- partial "commons/image.html"
(dict
"image" .Params.image
"alt" $title
"sizes" site.Params.image_sizes.sections.locations.map
) -}}
{{- end -}}