{{/* Head start hook */}} {{ partial "functions/get_hook.html" (dict "hook" "head_start" "context" .) }} {{ $faviconPath := (.Site.Params.faviconPath | default "" | absURL) }} {{ $faviconIco := urls.JoinPath $faviconPath "favicon.ico" }} {{ if fileExists $faviconIco }} {{ end }} {{- define "outputFormats" -}} {{- range .OutputFormats }} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{- end }} {{- end -}} {{ if .IsHome -}} {{ with .Site.GetPage (site.Params.homeCollection | default "") -}} {{ template "outputFormats" . }} {{ end }} {{ else -}} {{ template "outputFormats" . }} {{ with .Parent -}} {{ template "outputFormats" . }} {{- end }} {{- end }} {{- if .IsHome -}} {{- else -}} {{- end }} {{ if .Param "fediverse" }} {{ end }}