{{- $title := $.Site.Title -}} {{- if not .IsHome -}}{{ $title = printf "%s, %s" (partial "page-title.txt" .) $.Site.Title }}{{ end -}} {{- $modified := .Lastmod -}} {{- if .IsHome }}{{ with getenv "HUGO_LAST_UPDATE_TIME" }}{{ $modified = time . }}{{ end }}{{ end -}} {{ with partial "shortlink.txt" . -}} {{- end }} {{ range .AlternativeOutputFormats -}} {{ printf `` .Rel .MediaType.Type (partial "noindex.gmi" .Permalink) (printf "%s (%s)" $title (partial "alternatename.txt" .Name)) | safeHTML }} {{ end }} {{/* IndieWeb */}} {{ with getenv "HUGO_INDIEKIT_URL" }} {{ end }} {{ block "title" . -}} {{- if .IsHome -}} {{- $.Site.Title -}} {{- else -}} {{ partial "page-title.txt" . }}, {{ $.Site.Title -}} {{- end -}} {{- end }} {{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" true) -}} {{ $style := resources.Get "scss/main.scss" | css.Sass $options | resources.Fingerprint -}} {{ range $val := $.Site.Params.customCSS -}} {{ if le (len $val) 0 }}{{ continue }}{{ end -}} {{ end }} {{- partial "favicons.html" . }} {{ template "_internal/schema.html" . }} {{ if isset .Site.Taxonomies "series" }} {{ template "partials/opengraph.html" . }} {{ end }} {{ range .Params.categories }} {{ end }} {{ if isset .Params "date" }} {{ end }} {{- if templates.Exists "partials/extra-head.html" -}} {{ partial "extra-head.html" . }} {{- end }}