collectionsonline icon indicating copy to clipboard operation
collectionsonline copied to clipboard

underline current section in nav menu

Open tobystokes opened this issue 1 year ago • 0 comments

Could we underline Explore in Search | Explore | About nav when in relevant sections.

image

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

tobystokes avatar Jul 25 '24 14:07 tobystokes