@griddo/cx 1.66.7 → 1.66.10

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.66.7",
4
+ "version": "1.66.10",
5
5
  "authors": [
6
6
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
7
7
  "Carlos Torres <carlos.torres@secuoyas.com>",
@@ -64,7 +64,7 @@
64
64
  "react-helmet": "^6.0.0"
65
65
  },
66
66
  "devDependencies": {
67
- "@griddo/eslint-config-back": "^1.66.7",
67
+ "@griddo/eslint-config-back": "^1.66.10",
68
68
  "eslint": "^7.5.0",
69
69
  "eslint-plugin-node": "^11.1.0",
70
70
  "eslint-plugin-react": "7.14.3",
@@ -96,5 +96,5 @@
96
96
  "publishConfig": {
97
97
  "access": "public"
98
98
  },
99
- "gitHead": "492d4611398f8d06adc680637e8d5ee3fe57c6bf"
99
+ "gitHead": "721bcf7d6373a8abef1c50fb8bef4ce7fa27641a"
100
100
  }
@@ -111,6 +111,7 @@ async function renderSinglePage(page, additionalInfo, createPage) {
111
111
  image: openGraph.image,
112
112
  pageId: id,
113
113
  languageId,
114
+ template: page.template_id || page?.template?.templateType || null,
114
115
  siteId: page.site,
115
116
  url: page.fullUrl,
116
117
  content,
@@ -11,6 +11,7 @@ async function postSearchInfo({
11
11
  siteId,
12
12
  url,
13
13
  content,
14
+ template,
14
15
  }) {
15
16
  const response = await post(`${baseURL}/search`, {
16
17
  title,
@@ -20,6 +21,7 @@ async function postSearchInfo({
20
21
  languageId,
21
22
  siteId,
22
23
  url,
24
+ template,
23
25
  content: prepareHTMLContentForSearch(content),
24
26
  });
25
27