{{ $location := .location }} {{ $heading := .heading | default "h2" }} {{ $heading_tag := (dict "open" ((printf "<%s itemprop='headline' class='location-title'>" $heading) | safeHTML) "close" ((printf "" $heading) | safeHTML) ) }} {{ $options := .options }} {{ with $location }}
{{- $title := partial "PrepareHTML" .Title -}} {{ $heading_tag.open }} {{ $title }} {{ $heading_tag.close }}
{{- if and .Params.summary $options.summary -}} {{ partial "GetRichSummary" ( dict "summary" .Params.summary "kind" "locations" )}}

{{- i18n "blocks.locations.button_location" -}}

{{- end -}}
{{ if $options.image }} {{- if .Params.image -}}
{{- partial "commons/image.html" (dict "image" .Params.image "sizes" site.Params.image_sizes.sections.locations.item ) -}}
{{- end -}} {{- end -}}
{{ end }}