@dargmuesli/nuxt-vio 21.0.0 → 21.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/composables/head.ts +5 -1
- package/package.json +1 -1
package/app/composables/head.ts
CHANGED
|
@@ -67,7 +67,10 @@ export const useAppLayout = () => {
|
|
|
67
67
|
})
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
export const useHeadDefault = (
|
|
70
|
+
export const useHeadDefault = (
|
|
71
|
+
input: Parameters<typeof useSeoMeta>[0],
|
|
72
|
+
ogImageProps?: Parameters<typeof defineOgImage>[1],
|
|
73
|
+
) => {
|
|
71
74
|
const { t } = useI18n({ useScope: 'global' })
|
|
72
75
|
const siteConfig = useSiteConfig()
|
|
73
76
|
const appConfig = useAppConfig()
|
|
@@ -96,6 +99,7 @@ export const useHeadDefault = (input: Parameters<typeof useSeoMeta>[0]) => {
|
|
|
96
99
|
{
|
|
97
100
|
description,
|
|
98
101
|
title: title.split(' · ')[0],
|
|
102
|
+
...ogImageProps,
|
|
99
103
|
},
|
|
100
104
|
{
|
|
101
105
|
alt: t('globalSeoOgImageAlt'),
|
package/package.json
CHANGED