Skip to content

'Home' menu item remains highlighted when on other single pages #121

Description

@ColtonWeatherston

I'm experiencing an issue where the "Home" menu item remains highlighted when navigated away from the home page (on other single pages).
Image

I have menus.main specified in /hugo.toml.

[menus]
  [[menus.main]]
    name = 'Home'
    pageRef = '/'
    weight = 10
  [[menus.main]]
    name = 'About Me'
    pageRef = '/about-me'
    weight = 20
  [[menus.main]]
    name = 'Projects'
    pageRef = '/projects'
    weight = 30
  [[menus.main]]
    name = 'Contact Me'
    pageRef = '/contact-me'
    weight = 40

I did remove my menus keys and try the default menu (Home / Posts) to see if it was also affected. It doesn't appear to have this issue.
Image

So it must be related to the manually specified menus keys. But I believe my syntax is correct?

Thanks!

Hugo version: 0.161.1
Paige version: 0.116.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions