gatsby-core-theme 25.0.4 → 25.0.5

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
+ ## [25.0.5](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v25.0.4...v25.0.5) (2023-07-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * hreflangs ([1720573](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/17205731de2f406d56d66b80b6140d0c1c499eaf))
7
+
1
8
  ## [25.0.4](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v25.0.3...v25.0.4) (2023-07-17)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "25.0.4",
3
+ "version": "25.0.5",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -474,7 +474,7 @@ export default {
474
474
  data.site_markets[pagesMappedById[href.page_id].market].path_prefix;
475
475
 
476
476
  if (pagePathPrefix) {
477
- hreflangs[i].path = `${pagePathPrefix}/${href.path}`;
477
+ hreflangs[i].path = `${pagePathPrefix}${href.path !== '/' ? `/${href.path}` : ''}`;
478
478
  }
479
479
  });
480
480