{{- $author := partial "function-authors-data.html" . -}}
{{- $profile := $author.picture.profile -}}
{{- $file := not (urls.Parse $profile).Host -}}
{{- if $file -}}
{{- $profile = print $author.user "/" $profile -}}
{{- end -}}
{{- $image := partial "function-caches-images.html"
(dict
"Source" $profile
"Fit" "160x160"
"Target" (print (partial "function-paths.html" "media") "/" $author.user "/")
"Copy" (print (partial "function-paths.html" "media") "/" $author.user "/" (path.Base $profile))
"AlternateCopy" (print (partial "function-paths.html" "media") "/" $author.user "/" (path.BaseName $profile) ".webp")
)
-}}
{{- $width := $image.Width -}}
{{- $height := $image.Height -}}
{{- $source := $image.RelPermalink -}}
{{- $alternate := $author.name -}}
{{- $sourceset := $image.AltRelPermalink -}}
{{- with .Params.feed.favicon -}}
{{- $width = "64" -}}
{{- $height = "64" -}}
{{- $source = $.Params.feed.favicon -}}
{{- $alternate = $.Params.feed.name -}}
{{- $sourceset = "" -}}
{{- end -}}
{{- with $sourceset -}}
{{- end -}}
{{- /* This comment removes trailing newlines and white spaces. */ -}}