mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
🎨 访问授权页支持暗黑模式 https://github.com/siyuan-note/siyuan/issues/6821
This commit is contained in:
parent
c7a23dfa00
commit
dd617d6089
1 changed files with 8 additions and 6 deletions
|
|
@ -284,6 +284,8 @@ func serveCheckAuth(c *gin.Context) {
|
||||||
"l3": model.Conf.Language(175),
|
"l3": model.Conf.Language(175),
|
||||||
"l4": model.Conf.Language(176),
|
"l4": model.Conf.Language(176),
|
||||||
"l5": model.Conf.Language(177),
|
"l5": model.Conf.Language(177),
|
||||||
|
"appearanceMode": model.Conf.Appearance.Mode,
|
||||||
|
"appearanceModeOS": model.Conf.Appearance.ModeOS,
|
||||||
}
|
}
|
||||||
buf := &bytes.Buffer{}
|
buf := &bytes.Buffer{}
|
||||||
if err = tpl.Execute(buf, model); nil != err {
|
if err = tpl.Execute(buf, model); nil != err {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue