docs: update meta data

This commit is contained in:
zernonia 2023-09-06 18:38:03 +08:00
parent 167cfcdf4b
commit 5a96372142
2 changed files with 8 additions and 21 deletions

View File

@ -10,7 +10,12 @@ export default defineConfig({
titleTemplate: ':title - shadcn/vue', titleTemplate: ':title - shadcn/vue',
description: siteConfig.description, description: siteConfig.description,
head: [ head: [
['link', { rel: 'icon', href: '/favicon.ico' }], ['link', { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
['link', { rel: 'shortcut icon', href: '/favicon-16x16.png' }],
['link', { rel: 'apple-touch-icon', href: '/apple-touch-icon.png' }],
['link', { rel: 'manifest', href: '/site.webmanifest' }],
['meta', { name: 'creator', content: 'radix-vue' }],
['meta', { name: 'theme-color', content: '#41b883' }], ['meta', { name: 'theme-color', content: '#41b883' }],
['meta', { name: 'og:type', content: 'website' }], ['meta', { name: 'og:type', content: 'website' }],
['meta', { name: 'og:locale', content: 'en' }], ['meta', { name: 'og:locale', content: 'en' }],
@ -33,7 +38,7 @@ export default defineConfig({
provider: 'local', provider: 'local',
}, },
editLink: { editLink: {
pattern: 'https://github.com/radix-vue/shadcn-vue/tree/dev/apps/www/src/:path', pattern: 'https://github.com/radix-vue/shadcn-vue/tree/main/apps/www/src/:path',
text: 'Edit this page on GitHub', text: 'Edit this page on GitHub',
}, },
}, },

View File

@ -1,19 +1 @@
{ {"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}