collectionsonline
collectionsonline copied to clipboard
underline current section in nav menu
Could we underline Explore in Search | Explore | About nav when in relevant sections.
The site navigation (search/explore/about) can already do this, if marked with aria-current="true"
the template is already evaluating something to do it, but i don't think that's the right thing...?
I could do it in the front end by getting the first segment from location.pathname but it would be better and i expect as easy to do it server-side.
Although that first url segment is a good method, as all search results pages begin /search while the the objects themselves don't