Replies: 1 comment 2 replies
-
Without seeing the whole project it's a little hard for me to give you a direct answer. Have you tried not overwriting the url field and have you tried outputting the value of |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is my first post on this discussion board. I hope I've followed the etiquette properly. :-)
I have a project that uses the navigation plugin to build a menu based on the markdown files in a folder. I'm using the render menu items manually code from the plugin documentation page with an added "else" condition in the logic. The menu tree builds properly but the flow control to mark a menu item as active seems to be ignored. If anyone has any ideas why the active class isn't being inserted, I'd really appreciate the help!
The markdown front matter looks like this:
The template page is HTML based with liquid syntax:
Beta Was this translation helpful? Give feedback.
All reactions