@griddo/cx 1.75.26 → 1.75.27

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@griddo/cx",
3
3
  "description": "Griddo SSG based on Gatsby",
4
- "version": "1.75.26",
4
+ "version": "1.75.27",
5
5
  "authors": [
6
6
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
7
7
  "Carlos Torres <carlos.torres@secuoyas.com>",
@@ -65,7 +65,7 @@
65
65
  "react-helmet": "^6.0.0"
66
66
  },
67
67
  "devDependencies": {
68
- "@griddo/eslint-config-back": "^1.75.26",
68
+ "@griddo/eslint-config-back": "^1.75.27",
69
69
  "eslint": "^7.5.0",
70
70
  "eslint-plugin-node": "^11.1.0",
71
71
  "eslint-plugin-react": "7.14.3",
@@ -97,5 +97,5 @@
97
97
  "publishConfig": {
98
98
  "access": "public"
99
99
  },
100
- "gitHead": "e870c6671b2c10cf4b9a15f3de4f3c588ea24d34"
100
+ "gitHead": "d44fc0540cd9b7a3d19ea1ee1a94d3331079bc9e"
101
101
  }
@@ -86,8 +86,8 @@ export const Head = ({ pageContext }) => {
86
86
  const useHrefLangs =
87
87
  !(siteOptions?.avoidHrefLangsOnCanonicals && useCanonical) &&
88
88
  pageMetadata?.index === 'index' &&
89
- pageMetadata?.pageLanguages?.length > 1;
90
-
89
+ pageMetadata?.pageLanguages?.filter(item => item.isLive).length > 1;
90
+
91
91
  return (
92
92
  <>
93
93
  <title>{pageMetadata?.title}</title>
@@ -96,7 +96,7 @@ export const Head = ({ pageContext }) => {
96
96
  <meta name="title" content={pageMetadata?.title} />
97
97
  )}
98
98
  {siteOptions?.useCanonical && (
99
- <link rel="canonical" href={pageMetadata?.title} />
99
+ <link rel="canonical" href={pageMetadata?.canonical} />
100
100
  )}
101
101
  <link rel="icon" href={faviconResized} />
102
102