feat: allow user to customize favicon (#47)

* feat: add basic custom favicon feature

* add auto-switch icon

* revert to the original setting `false`
This commit is contained in:
Joey Chen authored and saica.go committed 2024-04-23 03:03:31 +08:00
1 parent 582e76cf43
commit bd468054c2
3 files changed
+21 -1

No files matched your search

+9
View File
@@ -9,6 +9,15 @@ export type SiteConfig = {
enable: boolean
src: string
}
favicon: {
enable: boolean
size: string
src: {
light: string
dark: string
}
}
}
export enum LinkPreset {