{{- $orignal := resources.Get .path }} {{- $png := $orignal.Resize (printf "%dx%d png q50" $orignal.Width $orignal.Height) }} {{- $webp := $orignal.Resize (printf "%dx%d webp q50" $orignal.Width $orignal.Height) }} {{- $pngFull := $orignal.Resize (printf "%dx%d webp q100" $orignal.Width $orignal.Height) }} {{- $webpFull := $orignal.Resize (printf "%dx%d webp q100" $orignal.Width $orignal.Height) }} {{ .alt | default
{{ .alt | default {{- with .alt }}

{{ . }}

{{- end }}