{{ $description := .Description | default .Site.Params.description }} {{ if eq .Kind "term" }}{{ $description = .Description | default (printf "Posts about %s by %s." .Title .Site.Title) }}{{ end }} {{ with site.Params.author.name }}{{ end }} {{ $canonical := .Permalink }} {{ if in (slice "home" "section" "taxonomy" "term") .Kind }}{{ $canonical = .Paginator.URL | absURL }}{{ end }} {{ if (fileExists "static/apple-touch-icon.png") -}} {{ end -}} {{ if (fileExists "static/favicon-32x32.png") -}} {{ end -}} {{ if (fileExists "static/favicon-16x16.png") -}} {{ end -}} {{ if (fileExists "static/site.webmanifest") -}} {{ end -}} {{ if (fileExists "static/safari-pinned-tab.svg") -}} {{ end -}} {{ partial "opengraph.html" . }} {{ partial "twitter_cards.html" . }} {{ partial "structured-data.html" . }} {{ if (templates.Exists "_partials/meta-tags.html") -}} {{ partial "meta-tags.html" . }} {{ end -}} {{ with resources.Get "css/katex.min.css" -}} {{ $katexStyle := . | fingerprint }} {{ end -}} {{ $normalizeStyle := resources.Get "css/normalize.css" }} {{ $fontStyle := resources.Get "css/source-sans-3.css" }} {{ $mainStyle := resources.Get "css/style.css" }} {{ $overrideStyle := resources.Get "css/override.css" }} {{ $style := slice $normalizeStyle $fontStyle $mainStyle $overrideStyle | resources.Concat "css/noesis.css" | minify | fingerprint }} {{ range .AlternativeOutputFormats -}} {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} {{ end -}} {{ partial "google_analytics.html" . }} {{ $appearance := .Site.Params.appearance | default dict }} {{ with $appearance.backgroundimage -}} {{ with resources.GetMatch . -}} {{- end }} {{- end }}