{{ .Scratch.Set "title" .Site.Title }} {{ if eq .Kind "home" }} {{ .Scratch.Set "title" .Site.Title }} {{ end }} {{ if .IsSection }} {{ .Scratch.Set "title" (.LinkTitle | humanize | title) }} {{ .Scratch.Add "title" " | " }} {{ .Scratch.Add "title" .Site.Title }} {{ end }} {{ if .IsPage }} {{ .Scratch.Set "title" (.File.TranslationBaseName | humanize | title) }} {{ .Scratch.Add "title" " | " }} {{ .Scratch.Add "title" .Site.Title }} {{ end }}