{{- $cover := ($.Resources.ByType "image").GetMatch "{*cover*,*thumbnail*,*featured*}" -}} {{ $icon := resources.GetMatch (default "" .Site.Params.icon) -}} {{/*=== title ===*/}} {{ "" | safeHTML }} {{- with .Site.Title }} {{- end -}} {{- if .IsHome}} {{- with or .Params.name .Site.Title }}