Highlight which page is currently active. #44
Labels
No labels
new-website
ui
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: data.coop/website#44
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Show which page the visitor is on, by highlighting it in the menu.
I can't figure out how to do it in hugo :D
https://discourse.gohugo.io/t/another-way-to-make-a-menu-item-active/17029 has something
Yup, I think that this is the one we want:
Ah yeah btw @halfd the change just adds a CSS class "active" to the menu item, but it doesn't actually style it :)