@fy-/fws-vue 2.0.3 → 2.0.4
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/composables/seo.ts +4 -2
- package/package.json +1 -1
package/composables/seo.ts
CHANGED
|
@@ -43,6 +43,7 @@ export const useSeo = (seoData: Ref<LazyHead>, initial: boolean = false) => {
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
/*
|
|
46
47
|
if (seoData.value.imageHeight && seoData.value.image) {
|
|
47
48
|
metas.push({
|
|
48
49
|
property: "og:image:height",
|
|
@@ -56,7 +57,7 @@ export const useSeo = (seoData: Ref<LazyHead>, initial: boolean = false) => {
|
|
|
56
57
|
content: seoData.value.imageWidth,
|
|
57
58
|
key: "og:image:width",
|
|
58
59
|
});
|
|
59
|
-
}
|
|
60
|
+
}*/
|
|
60
61
|
if (seoData.value.imageType && seoData.value.image) {
|
|
61
62
|
metas.push({
|
|
62
63
|
property: "og:image:type",
|
|
@@ -119,7 +120,8 @@ export const useSeo = (seoData: Ref<LazyHead>, initial: boolean = false) => {
|
|
|
119
120
|
});
|
|
120
121
|
|
|
121
122
|
useSeoMeta({
|
|
122
|
-
|
|
123
|
+
ogUrl: `${getURL().Scheme}://${getURL().Host}${route.fullPath}`,
|
|
124
|
+
ogLocale: () => currentLocale,
|
|
123
125
|
robots:
|
|
124
126
|
"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1",
|
|
125
127
|
title: () => seoData.value.title,
|