logoalt Hacker News

perilunar05/04/20250 repliesview on HN

> In a menu include, you want to disable the link to the currently shown page

I’ve always just styled the link to the current page differently, not disabled it, which you can do with an id on the page and a line of CSS.