{{- $alt := .Title -}}
{{- $respSizes := slice "960" "1600" -}}
{{- $hint := "photo" -}}
{{- $filter := "box" -}}
{{- if .Params.image -}}
{{- $dest := .Params.image | safeURL -}}
{{- $dest = path.Join (path.Dir $dest) (path.Base $dest) -}}
{{- with .Resources.Get $dest -}}
{{- if eq .MediaType.SubType "svg" -}}
{{- else -}}
{{- $src := . -}}
{{- $dataSzes := "(min-width: 1024px) 100vw, 50vw" -}}
{{- $actualImg := $src.Resize (print "640x jpg " $filter) -}}
{{- end -}}
{{- else -}}
{{- end -}}
{{- end -}}