1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-19 07:19:58 +00:00

refactor: move meta to nuxt config

This commit is contained in:
三咲智子 2023-01-02 06:03:25 +08:00
parent aca6f16245
commit 72e03f8109
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
2 changed files with 3 additions and 3 deletions

View file

@ -44,8 +44,5 @@ export function setupPageHeader() {
}, },
titleTemplate: title => `${title ? `${title} | ` : ''}${APP_NAME}${isDev ? ' (dev)' : isPreview ? ' (preview)' : ''}`, titleTemplate: title => `${title ? `${title} | ` : ''}${APP_NAME}${isDev ? ' (dev)' : isPreview ? ' (preview)' : ''}`,
link, link,
meta: [
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' },
],
}) })
} }

View file

@ -129,6 +129,9 @@ export default defineNuxtConfig({
{ rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' }, { rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' },
{ rel: 'apple-touch-icon', href: '/apple-touch-icon.png' }, { rel: 'apple-touch-icon', href: '/apple-touch-icon.png' },
], ],
meta: [
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' },
],
}, },
}, },
colorMode: { classSuffix: '' }, colorMode: { classSuffix: '' },