{{- $fallbackTitle := "" }} {{- if eq .Section "responses" }} {{ range .Params.inReplyTo }} {{- if . }} {{- $fallbackTitle = printf "in response to %s" (or .name .url) }} {{- end }} {{- end }} {{- else if eq .Section "kb" }} {{- $firstH1 := partial "firstH1.html" . }} {{- $fallbackTitle = or $firstH1 $.File.ContentBaseName }} {{- end }} {{- $title := or .Title $fallbackTitle }} {{- $fullTitle := print .Site.Title " | " $title}} {{- $cover := ($.Resources.ByType "image").GetMatch "{*opengraph*}" -}} {{ $icon := resources.GetMatch (default "" .Site.Params.icon) -}} {{/*=== title ===*/}} {{ "" | safeHTML }} {{- with .Site.Title }} {{- end -}} {{- if .IsHome}} {{- with or .Params.name .Site.Title }}