{{ $title := .Site.Title }} {{ if and (.IsHome) .Title }} {{ $title = printf "The open-source, self-hostable to-do app | %s" .Site.Title }} {{ end }} {{ if and (not .IsHome) .Title }} {{ $title = printf "%s | %s" .Title .Site.Title }} {{ end }}