@dargmuesli/nuxt-vio 3.7.0 → 3.7.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,6 @@ const siteDescriptionProp = toRef(() => props.siteDescription)
|
|
23
23
|
const { $dayjs } = useNuxtApp()
|
24
24
|
const { locale } = useI18n()
|
25
25
|
const cookieControl = useCookieControl()
|
26
|
-
const siteConfig = useSiteConfig()
|
27
26
|
|
28
27
|
const { loadingIds, indicateLoadingDone } = useLoadingDoneIndicator('app')
|
29
28
|
|
@@ -68,7 +67,6 @@ updateSiteConfig({
|
|
68
67
|
defineOgImage({
|
69
68
|
alt: ogImageAltProp.value,
|
70
69
|
component: ogImageComponentProp.value,
|
71
|
-
description: siteDescriptionProp.value,
|
72
70
|
})
|
73
71
|
useAppLayout()
|
74
72
|
useFavicons()
|
@@ -76,10 +74,7 @@ usePolyfills()
|
|
76
74
|
useSchemaOrg([
|
77
75
|
defineWebSite({
|
78
76
|
description: siteDescriptionProp,
|
79
|
-
inLanguage: locale,
|
80
|
-
name: siteConfig.name,
|
81
77
|
}),
|
82
|
-
defineWebPage(),
|
83
78
|
])
|
84
79
|
init()
|
85
80
|
</script>
|
@@ -11,6 +11,7 @@ export const useHeadDefault = ({
|
|
11
11
|
const attrs = useAttrs()
|
12
12
|
|
13
13
|
const defaults: Parameters<typeof useServerSeoMeta>[0] = {
|
14
|
+
description: attrs['site-description'] as string, // TODO: remove (https://github.com/harlan-zw/nuxt-site-config/pull/7)
|
14
15
|
msapplicationConfig: `/assets/static/favicon/browserconfig.xml?v=${CACHE_VERSION}`,
|
15
16
|
title,
|
16
17
|
twitterDescription: attrs['site-description'] as string,
|