{{- $block := .block -}} {{- $block_class := partial "GetBlockClass" .block -}} {{- with .block.data -}}
{{ partial "blocks/top.html" (dict "title" $block.title "heading_level" $block.ranks.self "description" .description )}}
{{ if .name }}

{{ .name }}

{{ end }} {{ with .information }} {{ partial "PrepareHTML" . }} {{ end }} {{ with .address }} {{ if or .address .city .zipcode .country }}
{{ if .address }} {{ partial "PrepareHTML" .address }}, {{ end }}
{{ if .city }} {{ partial "PrepareHTML" .city }} {{ end }} {{ if .zipcode }} {{ partial "PrepareHTML" .zipcode }} {{ end }} {{ if .country }} {{ partial "PrepareHTML" .country }} {{ end }}
{{ end }} {{ end }} {{ with .url }}

{{ . }}

{{ end }} {{ range .phone_numbers }}

{{ . }}

{{ end }} {{ range .emails }}

{{ . }}

{{ end }}
{{ if .timetable}}
    {{ range .timetable }} {{ if or .time_slot_morning.from .time_slot_morning.to .time_slot_afternoon.from .time_slot_afternoon.to }}
  • {{ .title }} {{ if or .time_slot_morning.from .time_slot_morning.to }} {{- if .time_slot_morning.from }} {{ end -}} {{- if .time_slot_morning.to }} {{ end -}} {{ end }} {{ if or .time_slot_afternoon.from .time_slot_afternoon.to }} {{- if .time_slot_afternoon.from }} {{ end -}} {{- if .time_slot_afternoon.to }} {{ end -}} {{ end -}}
  • {{ end }} {{ end }}
{{ end }}
{{- end -}}