{{ if .Site.Params.Logo -}} {{ $logo := resources.Get .Site.Params.Logo }} {{ if $logo }} {{ .Site.Title }} {{ end }} {{ else }} {{ .Site.Title }} {{- end }}