{{- $image_path := (.Get "image_path") -}} {{- $caption := (.Get "caption") -}} {{- $image_link := (.Get "image_link") -}} {{- $image_link_class := (.Get "image_link_class") -}} {{- if $caption -}}
{{- end -}} {{- if $image_link -}}{{- end -}} {{ (.Get {{- if $image_link -}}{{- end -}} {{- if $caption -}}
{{ $caption }}
{{- end -}}