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