{{/*=== title ===*/}} {{ "" | safeHTML }} {{- with .Site.Title }} {{- end -}} {{- $firstH1 := partial "name.html" . }} {{- $title := or .Title $firstH1 $.File.ContentBaseName }} {{- $name := or .Params.name (print $title " - " .Site.Title) }} {{- if .IsHome}} {{- $name = or .Params.name .Site.Title }} {{- end }} {{- with $name }}