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