don't forget template_init.go

This commit is contained in:
Azareal 2021-05-11 19:36:16 +10:00
parent 67ccca8b4e
commit 9e4336761f
1 changed files with 4 additions and 3 deletions

View File

@ -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"},