Site Menu & Router Pages

I’m looking for some help on the following issue.

I have created a router called ‘news’ and have added 2 pages called ‘latest-news’ and ‘news-archive’

On my Site Menu (actually a sub-menu), I have added links to these router pages.

However, the url shown for both menu items is for the Router (i.e. ‘news’). When I log the incoming request to the router, prefix is set to ‘news’ and path is an empty array.

I was expecting path[0] to be set to the actual page requested. I’d happily accept it coming in the prefix variable, but I’m getting no way to differentiate these pages in my code.

Am I missing a trick here? The SIte Menu is basically a black box, so I can’t set the urls in code.

Any pointers would be much appreciated

The request object looks like the following, regardless of which link I click on the sub-menu:

[
{
“pages”: [
“news-archive”,
“latest-news”,
“news-article”
],
“referrer”: “https:///website/news”,
“userAgent”: “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36”,
“formFactor”: “desktop”,
“env”: “browser”,
“user”: {
“role”: “Visitor”
},
“protocol”: “https”,
“ip”: “10.92.72.2”,
“path”: [
“”
],
“prefix”: “/news”,
“url”: “https:///website/news/”,
“baseUrl”: “https:///website/”
}
]