I’m using the bootie docs theme. After spending hours trying to get the active class to work on the nav links for my own site, I installed a brand new hugo site, downloaded the bootie docs theme, added a new page call “about” and a menu item for that page in config.toml, all according to the bootie docs documentation.
With that minimal site and NO changes to the theme, the “About” link in the menu is NOT highlighted as it is on the Bootie Docs demo site.
An inspection of the link on the demo site shows this:
After a short working, I found this is a known issue for local development.
Because Hugo appends / to .Site.BaseURL for local server, handling active link doesn’t work.
But once you build and publish your site for configured domain, they will be treated well.
At least, my several sites using bootie-docs are working well.
For future work, I plan to switch to Hugo’s built-in Menu system: https://gohugo.io/extras/menus/ from bootie-docs’ current implementation.