don't forget template_init.go
This commit is contained in:
parent
67ccca8b4e
commit
9e4336761f
|
@ -110,7 +110,8 @@ func tmplInitHeaders(u, u2, u3 *User) (*Header, *Header, *Header) {
|
|||
header := &Header{
|
||||
Site: Site,
|
||||
Settings: SettingBox.Load().(SettingMap),
|
||||
Themes: Themes,
|
||||
//Themes: Themes,
|
||||
ThemesSlice: ThemesSlice,
|
||||
Theme: Themes[DefaultThemeBox.Load().(string)],
|
||||
CurrentUser: u,
|
||||
NoticeList: []string{"test"},
|
||||
|
|
Loading…
Reference in New Issue