{{ $image := .Get "image" -}} {{ $title := .Get "title" -}} {{ $url := .Get "url" -}} {{ $imagePosition := .Get "imagePosition" | default "left" -}}
{{ with $image }} {{ $title }} {{ else }}
{{ end }}

{{- with $url }}{{ end -}} {{ $title }} {{- with $url }}{{ end -}}

{{ .Inner -}}