diff --git a/.vitepress/config.ts b/.vitepress/config.ts index 8370632..15964f0 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -155,8 +155,8 @@ export default defineConfig({ metaChunk: true, head: [ - ['link', { rel: 'icon', type: 'image/svg+xml', href: '/logo.svg' }], - ['link', { rel: 'icon', type: 'image/png', href: '/logo.png' }], + ['link', { rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml' }], + ['link', { rel: 'alternate icon', href: '/favicon.ico', type: 'image/png', sizes: '16x16' }], ['meta', { name: 'theme-color', content: '#55a578' }], ['meta', { property: 'og:type', content: 'website' }], ['meta', { property: 'og:locale', content: 'zh' }], diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..f3af869 Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/favicon.svg b/public/favicon.svg new file mode 100644 index 0000000..c4fbe6e --- /dev/null +++ b/public/favicon.svg @@ -0,0 +1,10 @@ + + + + + + + + + +