{{- $favicon := resources.Get "images/favicon.ico" -}}
{{- with resources.Get "uploads/favicon.ico" -}}
{{- $favicon = . -}}
{{- end -}}
{{- $favicon = slice $favicon | resources.Concat "favicon.ico" -}}
{{- $logo := resources.Get "images/favicon.png" -}}
{{- with .Site.Params.logo -}}
{{- with resources.Get . -}}
{{- $logo = . -}}
{{- end -}}
{{- end -}}
{{- $favicon32png := partial "utilities/create-favicon.html" (dict "logo" $logo "filename" "favicon-32.png" "size" "32x32") -}}
{{- $favicon57png := partial "utilities/create-favicon.html" (dict "logo" $logo "filename" "favicon-57.png" "size" "57x57") -}}
{{- $favicon72png := partial "utilities/create-favicon.html" (dict "logo" $logo "filename" "favicon-72.png" "size" "72x72") -}}
{{- $favicon76png := partial "utilities/create-favicon.html" (dict "logo" $logo "filename" "favicon-76.png" "size" "76x76") -}}
{{- $favicon96png := partial "utilities/create-favicon.html" (dict "logo" $logo "filename" "favicon-96.png" "size" "96x96") -}}
{{- $favicon114png := partial "utilities/create-favicon.html" (dict "logo" $logo "filename" "favicon-114.png" "size" "114x114") -}}
{{- $favicon120png := partial "utilities/create-favicon.html" (dict "logo" $logo "filename" "favicon-120.png" "size" "120x120") -}}
{{- $favicon128png := partial "utilities/create-favicon.html" (dict "logo" $logo "filename" "favicon-128.png" "size" "128x128") -}}
{{- $smalltile := partial "utilities/create-favicon.html" (dict "logo" $logo "filename" "smalltile.png" "size" "128x128") -}}
{{- $favicon144png := partial "utilities/create-favicon.html" (dict "logo" $logo "filename" "favicon-144.png" "size" "144x144") -}}
{{- $favicon152png := partial "utilities/create-favicon.html" (dict "logo" $logo "filename" "favicon-152.png" "size" "152x152") -}}
{{- $favicon180png := partial "utilities/create-favicon.html" (dict "logo" $logo "filename" "favicon-180.png" "size" "180x180") -}}
{{- $favicon195png := partial "utilities/create-favicon.html" (dict "logo" $logo "filename" "favicon-195.png" "size" "195x195") -}}
{{- $favicon196png := partial "utilities/create-favicon.html" (dict "logo" $logo "filename" "favicon-196.png" "size" "196x196") -}}
{{- $favicon228png := partial "utilities/create-favicon.html" (dict "logo" $logo "filename" "favicon-228.png" "size" "228x228") -}}
{{- $mediumtile := partial "utilities/create-favicon.html" (dict "logo" $logo "filename" "mediumtile.png" "size" "270x270") -}}
{{- $widetile := partial "utilities/create-favicon.html" (dict "logo" $logo "filename" "widetile.png" "size" "558x270") -}}
{{- $largetile := partial "utilities/create-favicon.html" (dict "logo" $logo "filename" "largetile.png" "size" "558x558") -}}
{{- $resourceIEConfigOptions := (dict "smalltile" $smalltile "mediumtile" $mediumtile "widetile" $widetile "largetile" $largetile) -}}
{{- $resourceIEConfigTemplate := resources.Get "ieconfig.xml" -}}
{{- $resourceIEConfig := $resourceIEConfigTemplate | resources.ExecuteAsTemplate "site.webmanifest" $resourceIEConfigOptions -}}
{{- $resourceWebManifestOptions := (dict) -}}
{{- $resourceWebManifestTemplate := resources.Get "site.webmanifest" -}}
{{- $resourceWebManifest := $resourceWebManifestTemplate | resources.ExecuteAsTemplate "site.webmanifest" . -}}