{{- $template := .block.template -}} {{- $position := .block.position -}} {{- $title := .block.title -}} {{- $image_class := "" -}} {{- with .block.data -}} {{- $text := .text -}} {{- $buttons := and .button.text .button_secondary.text -}} {{- if .image -}} {{- $image_class = printf "image-%s" (partial "GetImageDirection" .image ) -}} {{- end -}}
{{ partial "PrepareHTML" $title }}