|
| 1 | +import { HeadConfig } from 'vitepress'; |
| 2 | + |
| 3 | +export const head = (): HeadConfig[] => [ |
| 4 | + // Favicon |
| 5 | + ['link', { rel: 'icon', href: '/favicon.ico', sizes: '32x32' }], |
| 6 | + ['link', { rel: 'icon', href: '/theme/localazy-logo.svg', type: 'image/svg+xml' }], |
| 7 | + ['link', { rel: 'apple-touch-icon', sizes: '180x180', href: '/theme/apple-touch-icon.png' }], |
| 8 | + |
| 9 | + // Fonts |
| 10 | + [ |
| 11 | + 'link', |
| 12 | + { |
| 13 | + rel: 'stylesheet', |
| 14 | + href: 'https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap', |
| 15 | + }, |
| 16 | + ], |
| 17 | + |
| 18 | + // Open Graph protocol |
| 19 | + ['meta', { name: 'theme-color', content: '#066fef' }], |
| 20 | + ['meta', { property: 'og:type', content: 'website' }], |
| 21 | + ['meta', { property: 'og:locale', content: 'en' }], |
| 22 | + ['meta', { property: 'og:url', content: 'https://developer.localazy.com/' }], |
| 23 | + ['meta', { property: 'og:title', content: 'Developer Portal | Localazy' }], |
| 24 | + ['meta', { property: 'og:site_name', content: 'Localazy Developer Portal' }], |
| 25 | + // ['meta', { property: 'og:description', content: '' }], |
| 26 | + // ['meta', { property: 'og:image', content: '' }], |
| 27 | + |
| 28 | + // Twitter card |
| 29 | + ['meta', { property: 'twitter:card', content: 'summary_large_image' }], |
| 30 | + ['meta', { property: 'twitter:url', content: 'https://developer.localazy.com/' }], |
| 31 | + ['meta', { property: 'twitter:title', content: 'Developer Portal | Localazy' }], |
| 32 | + // ['meta', { property: 'twitter:description', content: '' }], |
| 33 | + // ['meta', { property: 'twitter:image', content: '' }], |
| 34 | +]; |
0 commit comments