I am trying to have a modular page inside an outer structure. (see below)
Within the modular page, I want to have navigation links pointing to parts of the page. This can be done with onpage_menu: true
However, I also want to have in the navigation links a pointer to the outer structure.
I tried to create a modular unit with redirect: home
(I have tried a number of routes with no change). The link appears in the navigation bar, but clicking on the link just moves the view to that part of the page, not to a different page.
I thought about this some more and I think that what I am trying will not work because what I want is for GRAV to replace the link in the navigation bar with the link for the outer page route, and GRAV does not do this.
So, is there a better way to get a custom link in the navigation bar in a modular page?
pages/
- 01.start/
- default.md
- 02.system/
- _part1/
- default.md [this works because I have added
default
template to mytheme:// templates/modular/]
- default.md [this works because I have added
- _part2/
- default.md
- _part3/
- default.md [contains
redirect: start
in header]
- default.md [contains
- modular.md [contains
onpage_menu: true
]
- _part1/
- 03.otherstuff/
- default.md