+ {{if .SystemConfig.Theme.CustomHomeHTML.Value ctx}} + {{/* Custom homepage content */}} + {{.SystemConfig.Theme.CustomHomeHTML.Value ctx | SafeHTML}} + {{else}} + {{/* Default homepage content */}}
+ {{if .SystemConfig.Theme.CustomHomeLogoURL.Value ctx}} + + {{else}} + {{end}}

- {{AppName}} + {{if .SystemConfig.Theme.CustomHomeTitle.Value ctx}} + {{.SystemConfig.Theme.CustomHomeTitle.Value ctx}} + {{else}} + {{AppName}} + {{end}}

-

{{ctx.Locale.Tr "startpage.app_desc"}}

+

+ {{if .SystemConfig.Theme.CustomHomeTagline.Value ctx}} + {{.SystemConfig.Theme.CustomHomeTagline.Value ctx}} + {{else}} + {{ctx.Locale.Tr "startpage.app_desc"}} + {{end}} +

+ {{if .PinnedOrganizations}} +
+ {{if eq (.SystemConfig.Theme.PinnedOrgDisplayFormat.Value ctx) "regular"}} + {{/* Regular format: icon above, title below, description below that */}} + + {{else}} + {{/* Condensed format (default): icon on left, title/description on right */}} + + {{end}} +
+ {{else}} + {{/* Only show promotional text when there are no pinned organizations */}}

@@ -47,5 +108,7 @@

+ {{end}} + {{end}}