Hi,
My menu looks like this: home, projects, blog, about …
if i create a new page under projects it should also appear in blog.
This already works using collections in my blog
content: items: - self@.children - taxonomy@: category: project
i use Route Overrides - Route Aliases
so e.g. in “/projects/example_project/item.md” i have “blog/example_project” as Route Alias,
so both urls
/projects/example_project
and
/blog/example_project
work.
now finally to my question:
Depending on which url i use (or how i reached the page) i want ether menu item"projects" or “blog” to be active…
i thied modifiing navigation.html.twig, but i guess thats not the right way(?)
i serched the forums but couldn’t find the answer
Thanks in advance!