{{ with .Site.LanguageCode }} {{ end }} {{/* Title */}} {{ if .IsHome -}} {{ .Site.Title }} {{- else -}} {{ .Title }} · {{ .Site.Title }} {{- end }} {{/* Metadata */}} {{ with .Params.Description -}} {{- else -}} {{- end }} {{ with .Site.Params.keywords -}} {{- end }} {{ range .AlternativeOutputFormats -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} {{/* Styles */}} {{ $schemeCSS := resources.Get (printf "css/schemes/%s.css" (.Site.Params.colorScheme | default "congo")) }} {{ if not $schemeCSS }} {{ $schemeCSS = resources.Get "css/schemes/congo.css" }} {{ end }} {{ $schemeStyles := $schemeCSS | resources.Minify | resources.Fingerprint "sha512" }} {{ $mainCSS := resources.Get "css/compiled/main.css" }} {{ $mainStyles := $mainCSS | resources.Minify | resources.Fingerprint "sha512" }} {{ $customCSS := resources.Get "css/custom.css" }} {{ if $customCSS }} {{ $customStyles := $customCSS | resources.Minify | resources.Fingerprint "sha512" }} {{ end }} {{/* Icons */}} {{ if templates.Exists "partials/favicons.html" }} {{ partialCached "favicons.html" .Site }} {{ else }} {{ end }} {{/* Site Verification */}} {{ with .Site.Params.verification.google }} {{ end }} {{ with .Site.Params.verification.bing }} {{ end }} {{ with .Site.Params.verification.pinterest }} {{ end }} {{ with .Site.Params.verification.yandex }} {{ end }} {{/* Social */}} {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }} {{/* Schema */}} {{ partial "schema.html" . }} {{/* Generator */}} {{ if .Site.Params.attribution | default true }} {{ hugo.Generator }} {{ end }} {{/* Me */}} {{ with .Site.Author.name }}{{ end }} {{ with .Site.Author.links }} {{ range $links := . }} {{ range $name, $url := $links }}{{ end }} {{ end }} {{ end }} {{/* Analytics */}} {{ partialCached "analytics.html" .Site }} {{/* Extend head - eg. for custom analytics scripts, etc. */}} {{ if templates.Exists "partials/extend-head.html" }} {{ partialCached "extend-head.html" .Site }} {{ end }}