{{- $logoTitle := .Site.Params.logo.title | default .Site.Title -}} {{- $logoSubtitle := .Site.Params.logo.subtitle | default .Site.Params.subtitle -}} {{- $logoImage := .Site.Params.logo.image -}} {{- if or $logoTitle $logoImage }} {{/* Defined when logo is mixed (image + text) */}} {{- $logoMix := and $logoImage $logoTitle -}}
{{ with $logoImage -}}
{{- end -}} {{ with $logoTitle -}}
{{ . }}
{{ with $logoSubtitle }}
{{ . }}
{{ end }}
{{- end }}
{{- end }}