{{- $firstH1 := partial "firstH1.html" . }} {{- $title := or .Title $firstH1 $.File.ContentBaseName }} {{- $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 }}