{{- $image := or (.Page.Resources.GetMatch .Destination) (resources.GetMatch .Destination) -}} {{- if $image -}} {{- partial "responsive-image.html" (dict "image" $image "alt" .Text "title" .Title "widths" (slice 711 1422 2133) "sizes" "(min-width: 711px) 711px, 100vw" ) -}} {{- else -}} {{ .Text }} {{- end -}}