add markdown theme setting

pull/548/head
微凉 2021-11-06 17:33:00 +08:00
parent d4523d52ee
commit 7970e737f0
1 changed files with 6 additions and 0 deletions

View File

@ -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)