{{- $size := default "regular" (.Get "size" | lower) }} {{- if not (in (slice "regular" "large" "small") $size) }} {{- $size = "regular" }} {{- end }}