@uniweb/core 0.1.8 → 0.1.9

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/website.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/core",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Core classes for the Uniweb platform - Uniweb, Website, Page, Block",
5
5
  "type": "module",
6
6
  "exports": {
package/src/website.js CHANGED
@@ -475,7 +475,7 @@ export default class Website {
475
475
  // Build page info objects
476
476
  const buildPageInfo = (page) => ({
477
477
  id: page.id,
478
- route: page.route === '/' ? '' : page.route,
478
+ route: page.route,
479
479
  title: page.title,
480
480
  label: page.getLabel(),
481
481
  description: page.description,