更新封面和readme

This commit is contained in:
dela
2026-02-05 10:17:55 +08:00
parent e5a717e94e
commit 3fea0ee89c
7 changed files with 110 additions and 15 deletions

View File

@@ -28,7 +28,8 @@ type DatabaseConfig struct {
}
type TOCConfig struct {
DebounceSeconds int `yaml:"debounce_seconds"`
DebounceSeconds int `yaml:"debounce_seconds"`
CoverImage string `yaml:"cover_image"` // 封面图片路径,留空则不使用图片
}
func Load(path string) (*Config, error) {