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{
|
header := &Header{
|
||||||
Site: Site,
|
Site: Site,
|
||||||
Settings: SettingBox.Load().(SettingMap),
|
Settings: SettingBox.Load().(SettingMap),
|
||||||
Themes: Themes,
|
//Themes: Themes,
|
||||||
|
ThemesSlice: ThemesSlice,
|
||||||
Theme: Themes[DefaultThemeBox.Load().(string)],
|
Theme: Themes[DefaultThemeBox.Load().(string)],
|
||||||
CurrentUser: u,
|
CurrentUser: u,
|
||||||
NoticeList: []string{"test"},
|
NoticeList: []string{"test"},
|
||||||
|
|
Loading…
Reference in New Issue