{{- $is_carousel := false -}} {{ if gt (len .images) 1 }} {{- $is_carousel = true -}} {{ end }} {{- if $is_carousel }}
{{ . | safeHTML }}