{{- $source := default "https://example.com/" (.Get "source" | default (.Get 0)) -}}
{{- $host := $source -}}
{{- with (urls.Parse $source).Host -}}
{{- $host = . -}}
{{- end -}}
{{- $favicon := partial "function-favicon-domain.html" $host -}}
{{- $image := partial "function-fetch-favicons.html"
(dict
"Context" .Page
"Source" $favicon
"Infix" ($host | anchorize)
)
-}}
{{ $host }}
{{ $source }}