gatsby-core-theme 1.6.20 → 1.6.21

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.6.21](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v1.6.20...v1.6.21) (2021-12-07)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * trackers ([5ad12eb](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/5ad12ebc2492172f7a94d680315f67b8e19fc4f9))
7
+
1
8
  ## [1.6.20](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v1.6.19...v1.6.20) (2021-12-07)
2
9
 
3
10
 
@@ -253,16 +253,6 @@ exports.createPages = async ({ actions: { createPage } }, themeOptions) => {
253
253
  });
254
254
  }
255
255
 
256
- const trackerPageObject = {
257
- meta_title: 'Tracker',
258
- template: 'tracker',
259
- title: 'Tracker',
260
- type: 'page',
261
- language: languageKey,
262
- path: '',
263
- meta_robots: ['noindex', 'nofollow'],
264
- };
265
-
266
256
  // Operator tracker pages
267
257
  if (page.type === 'operator') {
268
258
  const operator = operators[page.relation_id];
@@ -272,7 +262,15 @@ exports.createPages = async ({ actions: { createPage } }, themeOptions) => {
272
262
  );
273
263
  tracker.forEach((trackerPath) => {
274
264
  // Create splash page
275
- trackerPageObject['path'] = trackerPath;
265
+ const trackerPageObject = {
266
+ meta_title: 'Tracker',
267
+ template: 'tracker',
268
+ title: 'Tracker',
269
+ type: 'page',
270
+ language: languageKey,
271
+ path: trackerPath,
272
+ meta_robots: ['noindex', 'nofollow'],
273
+ };
276
274
  createPage({
277
275
  path: trackerPath,
278
276
  component: require.resolve('./src/components/app.js'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "1.6.20",
3
+ "version": "1.6.21",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "main": "index.js",
6
6
  "GATSBY_RECAPTCHA_SITEKEY": "6LfoyvMUAAAAAO4nl_MQnqHb4XdHxEiu5cXgIqeB",