gatsby-core-theme 29.0.0 → 29.0.1

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
+ ## [29.0.1](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v29.0.0...v29.0.1) (2023-09-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * change path from translation ([c57611a](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/c57611aeb5bd2535fcc81125438d48ee5e6403f8))
7
+
1
8
  # [29.0.0](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v28.0.6...v29.0.0) (2023-09-04)
2
9
 
3
10
 
package/gatsby-node.mjs CHANGED
@@ -283,7 +283,7 @@ export const createPages = async ({ actions: { createPage } }, themeOptions) =>
283
283
 
284
284
  if (page.path === '404') {
285
285
  context404 = contextData;
286
- } else if (page.path === `${pathPrefix || ''}sitemap`) {
286
+ } else if (page.path === `${pathPrefix || ''}${translate(contextData.translations, 'sitemap', 'sitemap')}`) {
287
287
  createPage({
288
288
  path: `/${page.path}`,
289
289
  component: `${__dirname}/src/components/app.js`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "29.0.0",
3
+ "version": "29.0.1",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "main": "index.js",
6
6
  "directories": {