@fy-/fws-vue 1.5.6 → 1.5.7

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.
@@ -57,7 +57,6 @@ const getBlogPost = async () => {
57
57
  } else {
58
58
  seo.value.locale = "en-US";
59
59
  }
60
- seo.value.canonical = `https://${props.baseUrl}/l/${seo.value.locale}/blog/${post.value.Slug}`;
61
60
  seo.value.url = `https://${props.baseUrl}/l/${seo.value.locale}/blog/${post.value.Slug}`;
62
61
  if (post.value.Locales && post.value.Locales.length > 1) {
63
62
  seo.value.alternateLocales = post.value.Locales;
@@ -129,15 +129,7 @@ useFyHead({
129
129
  rel: "prev",
130
130
  key: "prev",
131
131
  });
132
- // add canonical
133
- const url = getURL();
134
- if (url) {
135
- result.push({
136
- href: `${url.Scheme}://${url.Host}${url.Path}`,
137
- rel: "canonical",
138
- key: "canonical",
139
- });
140
- }
132
+
141
133
  return result;
142
134
  }),
143
135
  });
@@ -20,7 +20,6 @@ export interface LazyHead {
20
20
  searchAction?: string;
21
21
  next?: string;
22
22
  prev?: string;
23
- canonical?: string;
24
23
  locale?: string;
25
24
  robots?: string;
26
25
  url?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "1.5.6",
3
+ "version": "1.5.7",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {