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

+8
View File
@@ -15,6 +15,14 @@ export const siteConfig: SiteConfig = {
enable: false,
src: 'assets/images/demo-banner.png',
},
favicon: {
enable: false,
size: '32x32',
src: {
light: '/favicon/favicon-light-32.png',
dark: '/favicon/favicon-dark-32.png',
}
},
}
export const navBarConfig: NavBarConfig = {