New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dropdown/submenu functionality #41

Merged
merged 4 commits into from May 26, 2018

Conversation

Projects
None yet
2 participants
@cfrome77
Contributor

cfrome77 commented May 26, 2018

This PR adds the ability to create a submenu/dropdown in the navigation using the menu section of the config.toml with the identifier and parent parameters. The .HasChildren variable has been used in header.html to identify the submenu items belonging to a parent item.

This feature has been tested and is currently being used on my site: chrisfrome.com

@LordMathis

This comment has been minimized.

Owner

LordMathis commented May 26, 2018

That's pretty cool. Thanks for the PR

@LordMathis LordMathis merged commit d5e6286 into LordMathis:master May 26, 2018

@cfrome77 cfrome77 deleted the cfrome77:add-submenus branch Nov 4, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment