diff --git a/src/components/PageStrcture/Nav.vue b/src/components/PageStrcture/Nav.vue index ec274967..5fde6671 100644 --- a/src/components/PageStrcture/Nav.vue +++ b/src/components/PageStrcture/Nav.vue @@ -46,7 +46,7 @@ export default { /* Get links to sub-pages, and combine with nav-links */ allLinks() { const subPages = this.$store.getters.pages.map((subPage) => ({ - path: makePageSlug(subPage.path, 'home'), + path: makePageSlug(subPage.name, 'home'), title: subPage.name, })); const navLinks = this.links || [];