add markdown theme setting

This commit is contained in:
微凉 2021-11-06 17:33:00 +08:00
parent d4523d52ee
commit 7970e737f0

View File

@ -171,6 +171,12 @@ func initSettings() {
Description: "when have multiple, the readme file to show",
Group: model.PUBLIC,
},
{
Key: "markdown theme",
Value: "vuepress",
Description: "default | github | vuepress",
Group: model.PUBLIC,
},
}
for _, v := range settings {
_, err := model.GetSettingByKey(v.Key)