Skip to content

Commit 2bf0d0b

Browse files
committed
docs: fix safari favicon
1 parent f2fc3dc commit 2bf0d0b

File tree

2 files changed

+5
-21
lines changed

2 files changed

+5
-21
lines changed

docs/.vitepress/config.ts

+5-21
Original file line numberDiff line numberDiff line change
@@ -23,32 +23,16 @@ export default defineConfig({
2323
}
2424
},
2525

26+
/* prettier-ignore */
2627
head: [
27-
['link', { rel: 'icon', href: '/vitepress-logo-mini.svg' }],
28+
['link', { rel: 'icon', type: 'image/svg+xml', href: '/vitepress-logo-mini.svg' }],
29+
['link', { rel: 'icon', type: 'image/png', href: '/vitepress-logo-mini.png' }],
2830
['meta', { name: 'theme-color', content: '#5f67ee' }],
2931
['meta', { name: 'og:type', content: 'website' }],
3032
['meta', { name: 'og:locale', content: 'en' }],
3133
['meta', { name: 'og:site_name', content: 'VitePress' }],
32-
[
33-
'meta',
34-
{ name: 'og:image', content: 'https://vitepress.dev/vitepress-og.jpg' }
35-
],
36-
[
37-
'meta',
38-
{
39-
name: 'twitter:image',
40-
content: 'https://vitepress.dev/vitepress-og.jpg'
41-
}
42-
],
43-
[
44-
'script',
45-
{
46-
src: 'https://cdn.usefathom.com/script.js',
47-
'data-site': 'AZBRSFGG',
48-
'data-spa': 'auto',
49-
defer: ''
50-
}
51-
]
34+
['meta', { name: 'og:image', content: 'https://vitepress.dev/vitepress-og.jpg' }],
35+
['script', { src: 'https://cdn.usefathom.com/script.js', 'data-site': 'AZBRSFGG', 'data-spa': 'auto', defer: '' }]
5236
],
5337

5438
themeConfig: {

docs/public/vitepress-logo-mini.png

1.97 KB
Loading

0 commit comments

Comments
 (0)