{{/* runner for assets/image */}} {{- $src := resources.Get (printf "%s%s" "/images/" (.Get "s")) -}}{{- $alt := .Get "a" | safeHTML -}}{{- $width := printf "%s" (.Get "w") -}} {{- $img := $src -}} {{- with $width -}}{{- $img = $src.Resize (printf "%sx" $width) -}}{{- end -}} {{- with $img -}}
{{- with .Resize (printf "%dx%d webp" .Height .Width) }} {{ end }} {{ $alt }}
{{ $alt }}
{{- end -}}