change seo for all pages

This commit is contained in:
2025-10-07 16:18:57 +07:00
parent 8e9331d230
commit 4f6afecdf4
8 changed files with 83 additions and 55 deletions
+11 -7
View File
@@ -35,13 +35,17 @@ const TITLE = "Portal"
const DESC = "Choose your way wisely."
const baseUrl = config.public.baseUrl
useHead({
useSeoMeta({
title: TITLE,
meta: [
{ name: 'description', content: DESC },
{ property: 'og:title', content: TITLE },
{ property: 'og:description', content: DESC },
{ property: 'og:type', content: 'website' }
]
description: DESC,
ogTitle: TITLE + ' / ' + config.public.siteName,
ogDescription: DESC,
ogImage: post.value?.coverImage || undefined,
ogSiteName: config.public.siteName,
twitterCard: 'summary_large_image',
twitterTitle: TITLE + ' / ' + config.public.siteName,
twitterDescription: DESC,
twitterImage: post.value?.coverImage || undefined,
twitterSite: '@' + config.public.twitterUsername
})
</script>