mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-19 16:46:30 +08:00
✨ add markdown theme setting
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user