@griddo/cx 1.75.91 → 1.75.93
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.
|
|
4
|
+
"version": "1.75.93",
|
|
5
5
|
"authors": [
|
|
6
6
|
"Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
|
|
7
7
|
"Carlos Torres <carlos.torres@secuoyas.com>",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"react-helmet": "^6.0.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@griddo/eslint-config-back": "^1.75.
|
|
69
|
+
"@griddo/eslint-config-back": "^1.75.93",
|
|
70
70
|
"eslint": "^7.5.0",
|
|
71
71
|
"eslint-plugin-node": "^11.1.0",
|
|
72
72
|
"eslint-plugin-react": "7.14.3",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"publishConfig": {
|
|
99
99
|
"access": "public"
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "971ac4c31bccc4aeb90f0f34e0309e3032e8618b"
|
|
102
102
|
}
|
|
@@ -103,7 +103,8 @@ export const Head = data => {
|
|
|
103
103
|
(useHrefLangs &&
|
|
104
104
|
!siteOptions?.avoidHrefLangXDefault &&
|
|
105
105
|
defaultLangId &&
|
|
106
|
-
cleanPageLanguages.find(item => item.languageId === defaultLangId)
|
|
106
|
+
cleanPageLanguages.find(item => item.languageId === defaultLangId)
|
|
107
|
+
?.url) ||
|
|
107
108
|
null;
|
|
108
109
|
|
|
109
110
|
const currentTime = new Date().toString();
|
|
@@ -142,17 +143,17 @@ export const Head = data => {
|
|
|
142
143
|
<meta property="og:site_name" content={siteMetadata?.title} />
|
|
143
144
|
)}
|
|
144
145
|
{!!locale && <meta property="og:locale" content={locale} />}
|
|
145
|
-
{!!openGraph?.title && (
|
|
146
|
+
{(!!openGraph?.title || !!pageMetadata?.title) && (
|
|
146
147
|
<meta
|
|
147
148
|
property="og:title"
|
|
148
|
-
content={openGraph?.title}
|
|
149
|
+
content={openGraph?.title || pageMetadata?.title}
|
|
149
150
|
/>
|
|
150
151
|
)}
|
|
151
152
|
<meta property="og:type" content={openGraph?.type || 'website'} />
|
|
152
|
-
{!!openGraph?.description && (
|
|
153
|
+
{(!!openGraph?.description || !!pageMetadata?.description) && (
|
|
153
154
|
<meta
|
|
154
155
|
property="og:description"
|
|
155
|
-
content={openGraph?.description}
|
|
156
|
+
content={openGraph?.description || pageMetadata?.description}
|
|
156
157
|
/>
|
|
157
158
|
)}
|
|
158
159
|
{!!openGraph?.image && (
|
|
@@ -163,10 +164,7 @@ export const Head = data => {
|
|
|
163
164
|
{/* Twitter */}
|
|
164
165
|
<meta property="twitter:card" content="summary_large_image" />
|
|
165
166
|
{!!openGraph?.twitterImage && (
|
|
166
|
-
<meta
|
|
167
|
-
property="twitter:image"
|
|
168
|
-
content={openGraph?.twitterImage}
|
|
169
|
-
/>
|
|
167
|
+
<meta property="twitter:image" content={openGraph?.twitterImage} />
|
|
170
168
|
)}
|
|
171
169
|
|
|
172
170
|
{/* Debug */}
|