mirror of https://github.com/Xhofe/alist
✨ add markdown theme setting
parent
d4523d52ee
commit
7970e737f0
|
@ -171,6 +171,12 @@ func initSettings() {
|
||||||
Description: "when have multiple, the readme file to show",
|
Description: "when have multiple, the readme file to show",
|
||||||
Group: model.PUBLIC,
|
Group: model.PUBLIC,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Key: "markdown theme",
|
||||||
|
Value: "vuepress",
|
||||||
|
Description: "default | github | vuepress",
|
||||||
|
Group: model.PUBLIC,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
for _, v := range settings {
|
for _, v := range settings {
|
||||||
_, err := model.GetSettingByKey(v.Key)
|
_, err := model.GetSettingByKey(v.Key)
|
||||||
|
|
Loading…
Reference in New Issue