From 6b0c6f96f714c041f152124e83b0e49b58d94ada Mon Sep 17 00:00:00 2001 From: Alan Ye Date: Thu, 15 Aug 2024 12:35:24 +0800 Subject: [PATCH] feat: add meta descriptions and `lang` attribute --- app.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app.vue b/app.vue index d4a60528..53cf42c1 100644 --- a/app.vue +++ b/app.vue @@ -5,9 +5,18 @@ const useIdFunction = () => useId() useHead({ meta: [ + { name: 'description', content: 'Enspire is an open-source project led by the Computerization, ' + + 'aimed at providing a technical support platform for WFLAers.' }, + { property: 'og:type', content: 'website' }, + { property: 'og:title', content: 'Enspire' }, + { property: 'og:description', content: 'Enspire is an open-source project led by the Computerization, ' + + 'aimed at providing a technical support platform for WFLAers.' }, { name: 'theme-color', media: '(prefers-color-scheme: light)', content: 'white' }, { name: 'theme-color', media: '(prefers-color-scheme: dark)', content: 'black' }, ], + htmlAttrs: { + lang: 'zh-CN', + }, })