Skip to content

Commit dab1c4d

Browse files
committed
chore: add favicon
1 parent da3481f commit dab1c4d

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.vitepress/config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ export default defineConfig({
155155
metaChunk: true,
156156

157157
head: [
158-
['link', { rel: 'icon', type: 'image/svg+xml', href: '/logo.svg' }],
159-
['link', { rel: 'icon', type: 'image/png', href: '/logo.png' }],
158+
['link', { rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml' }],
159+
['link', { rel: 'alternate icon', href: '/favicon.ico', type: 'image/png', sizes: '16x16' }],
160160
['meta', { name: 'theme-color', content: '#55a578' }],
161161
['meta', { property: 'og:type', content: 'website' }],
162162
['meta', { property: 'og:locale', content: 'zh' }],

public/favicon.ico

15 KB
Binary file not shown.

public/favicon.svg

+10
Loading

0 commit comments

Comments
 (0)