Skip to content
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

Define all items in global data file #42

Open
silveltman opened this issue May 4, 2022 · 1 comment
Open

Define all items in global data file #42

silveltman opened this issue May 4, 2022 · 1 comment

Comments

@silveltman
Copy link

Define all items in global data file. Like so:

_data/navigation.yaml

items:
  - key: home
    title: Home
    url: /
    children:
      - key: Second
        title: Second
        url: /
        children:
  - key: contact
    title: Contact
    url: /contact
@terox
Copy link

terox commented May 14, 2022

This could be very useful for pages that use i18n

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

No branches or pull requests

2 participants