{{- $logo_raster := resources.Get "images/kubernetes.png" -}}
{{- $sizes := slice 64 32 16 -}}
{{- range $sizes -}}
{{- $size := . }}
{{- $favicon := $logo_raster.Fit (printf "%dx%d png" $size $size ) }}
{{- with resources.Copy ( printf "icons/favicon-%d.png" $size ) $favicon -}}
{{- $placed_icon := . -}}
{{- end -}}
{{- end -}}
{{- $sizes := slice 256 196 192 180 167 160 152 120 76 -}}
{{- range $sizes -}}
{{- $size := . }}
{{- $apple_icon := $logo_raster.Fit (printf "%dx%d png" $size $size ) }}
{{- with resources.Copy (printf "icons/apple-touch-icon-%dx%d.png" $size $size ) $apple_icon -}}
{{- $placed_icon := . -}}
{{- if eq . 192 -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- $other_icon := $logo_raster.Fit "128x128 png" }}
{{- with resources.Copy "icons/icon-128x128.png" $other_icon -}}
{{- $placed_icon := . -}}
{{- end -}}