diff --git a/common/template_init.go b/common/template_init.go index 2e9389dc..8f002f80 100644 --- a/common/template_init.go +++ b/common/template_init.go @@ -108,9 +108,10 @@ func tmplInitUsers() (*User, *User, *User) { func tmplInitHeaders(u, u2, u3 *User) (*Header, *Header, *Header) { header := &Header{ - Site: Site, - Settings: SettingBox.Load().(SettingMap), - Themes: Themes, + Site: Site, + Settings: SettingBox.Load().(SettingMap), + //Themes: Themes, + ThemesSlice: ThemesSlice, Theme: Themes[DefaultThemeBox.Load().(string)], CurrentUser: u, NoticeList: []string{"test"},