Skip to content
New issue

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

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

Already on GitHub? # to your account

Syntax sugar for menus #13

Open
acobster opened this issue Mar 7, 2019 · 0 comments
Open

Syntax sugar for menus #13

acobster opened this issue Mar 7, 2019 · 0 comments

Comments

@acobster
Copy link
Owner

acobster commented Mar 7, 2019

It'd be handy to be able to do something like this (need to double check YAML syntax):

menus:
  primary_menu:
    - home-page-slug
    - another-page
    - yet-another-page:
      - second-level-page:
        - third-level-page

...and have it generate the nav hierarchy. In this example, primary_menu is the menu slug.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant