Skip to content

Commit

Permalink
chore: add favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
CharleeWa committed Apr 25, 2024
1 parent da3481f commit dab1c4d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' }],
Expand Down
Binary file added public/favicon.ico
Binary file not shown.
10 changes: 10 additions & 0 deletions public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dab1c4d

Please sign in to comment.