Main navigation

To add links to the main navigation menu, create a navigation.yml file in the _data directory and add links using the following format:

items:
  - name: Components
    link: /components/
  - name: Templates
    link: /templates/
  - name: News
    link: /news/

To add links to a dropdown menu, add a dropdown: property, setting the name and link for each item.

items:
  - name: Templates
    link: /templates/
    dropdown:
      - name: Landing Page
        link: /templates/landing-page/
      - name: Content Page
        link: /templates/content-page/

Also in this section