theme v2
This commit is contained in:
@@ -78,7 +78,7 @@ func Pager(ctx context.Context) {
|
||||
}
|
||||
|
||||
// 主题只作用于箱主相关页面(提问箱主页 / 单题页 / 密码页 / 分享卡路由),
|
||||
// 与背景图、颜色同属箱主个性化配置;/user 后台保持中性外观。
|
||||
// 与背景图、颜色同属箱主个性化配置;/user 后台由 Contexter 按登录用户自己的配置注入。
|
||||
// 空串 = 不加载主题 css(站点默认就是基础外观时省掉一次请求)。
|
||||
ctx.Data["ThemeSlug"] = theme.Resolve(pageUser.Theme)
|
||||
// 页面密码检查
|
||||
|
||||
Reference in New Issue
Block a user