{{ $ximage := resources.Get .Destination }} {{ with $ximage }} {{ $.Text }} {{ else }} {{.Text}} {{end}}