{{define "site-logo-inline"}}
{{if and (eq .LogoType "image") .LogoURL}}
{{else}}
{{if .LogoIcon}}{{end}}
{{if .LogoText}}{{.LogoText}}{{else}}{{.SiteName}}{{end}}
{{end}}
{{end}}
{{define "site-logo-admin"}}
{{if and (eq .LogoType "image") .LogoURL}}
{{else if .LogoCustom}}
{{if .LogoIcon}}{{end}}
{{if .LogoText}}{{.LogoText}}{{else}}{{.SiteName}}{{end}}
{{else}}
{{if .LogoText}}{{.LogoText}}{{else}}{{.SiteName}}{{end}}
{{end}}
{{end}}