{{- if .Site.Params.header.logo }} {{- $logo := resources.Get .Site.Params.header.logo }} {{- $darkLogo := resources.Get .Site.Params.header.darkLogo }} {{- if and $logo $darkLogo }} {{ .Site.Title }} {{- else if $logo }} {{ .Site.Title }} {{- end }} {{- end }} {{- if .Site.Params.header.showTitle | default true }} {{ .Site.Title | markdownify | emojify }} {{- end }}