{{- $file := .file }} {{- $path := printf "webbuttons/%s" $file}} {{- $img := resources.Get $path }} {{- $img1x := $img.Resize "80x15 webp q90"}} {{- $img2x := $img.Resize "160x30 webp q90"}} {{- if $.href }} {{ end }} {{ $.alt }} {{- if $.href }} {{ end }}