Log in Sign up

Dropdown Navbar - possible?

Is it possible to have clickable dropdown menus from the top navigation bar? Can this be currently done with the "Pages" folder concept? I tried creating a simply tree of folders within the "Pages" folder thinking it might work but it gets flattened in one long top navigation menu.

David, is this possible to do. Is it template dependent? Are you considering this? I would be a nice feature because we could have more than a few .md files in a directory tree inside the "Pages" folder.

Are there any suggestions? It's not a huge request but it would provide some freedom on structure.

Thank you —Alex


3 years ago, 1 replies   Edit question

This is possible but you will need to build it in your own custom template.

On the front end, I'd suggest using a pure-CSS dropdown menu. You'll want to write some custom JavaScript to rearrange the output of Blot's {{#menu}}...{{/menu}} template tag into the HTML required.

Does that make sense? Please let me know if you have any questions about this or anything else

Answered 3 years ago · Edit answer