@fy-/fws-vue 2.0.22 → 2.0.23

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.
@@ -30,7 +30,7 @@ export interface LazyHead {
30
30
 
31
31
  export const useSeo = (seoData: Ref<LazyHead>, initial: boolean = false) => {
32
32
  const route = useRoute();
33
- const currentLocale = getLocale();
33
+ const d = getLocale();
34
34
  const url = getURL();
35
35
 
36
36
  useHead({
@@ -56,7 +56,7 @@ export const useSeo = (seoData: Ref<LazyHead>, initial: boolean = false) => {
56
56
  });
57
57
 
58
58
  seoData.value.alternateLocales?.forEach((locale) => {
59
- if (locale !== currentLocale) {
59
+ if (locale !== d) {
60
60
  links.push({
61
61
  rel: "alternate",
62
62
  hreflang: locale,
@@ -83,7 +83,7 @@ export const useSeo = (seoData: Ref<LazyHead>, initial: boolean = false) => {
83
83
 
84
84
  useSeoMeta({
85
85
  ogUrl: () => `${getURL().Scheme}://${getURL().Host}${route.fullPath}`,
86
- ogLocale: () => currentLocale,
86
+ ogLocale: () => currentLocale.replace("-", "_"),
87
87
  robots:
88
88
  "index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1",
89
89
  title: () => seoData.value.title,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.0.22",
3
+ "version": "2.0.23",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {