{{ $title := print .Site.Title " | " .Title -}} {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} {{ $title }} {{ if (fileExists "/layouts/partials/head_custom.html") -}} {{ partial "head_custom.html" . -}} {{ end -}}