{{ $myimg := resources.Get .Destination }} {{ if $myimg }} {{ $myimg := $myimg.Resize "1024x" }}
{{ .PlainText }}
{{ else }} {{ errorf "Can not find image: %s" .Destination }} {{ end }}