mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 访问授权页显示工作空间名称
This commit is contained in:
parent
ec51d24901
commit
2b77d9838e
7 changed files with 17 additions and 6 deletions
|
@ -286,8 +286,11 @@ func serveCheckAuth(c *gin.Context) {
|
|||
"l4": model.Conf.Language(176),
|
||||
"l5": model.Conf.Language(177),
|
||||
"l6": model.Conf.Language(178),
|
||||
"l7": template.HTML(model.Conf.Language(184)),
|
||||
"appearanceMode": model.Conf.Appearance.Mode,
|
||||
"appearanceModeOS": model.Conf.Appearance.ModeOS,
|
||||
"workspace": filepath.Base(util.WorkspaceDir),
|
||||
"workspacePath": util.WorkspaceDir,
|
||||
}
|
||||
buf := &bytes.Buffer{}
|
||||
if err = tpl.Execute(buf, model); nil != err {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue