forestryio / jekyll-menus

A menus (site navigation) plugin for your Jekyll website that also works with https://forestry.io (Jekyll CMS)
MIT License
133 stars 27 forks source link

Menu nesting working incorrectly for Jekyll #13

Closed ncphillips closed 6 years ago

ncphillips commented 6 years ago

@chrisdmacrae commented on Sat Sep 30 2017

Current Behaviour

Menu nesting is broken for Jekyll. It works like Hugo, setting the "parent" parameter of the menu item.

menus:
    parent_menu_id:
        parent: parent_menu_item_id
        weight: 1

However, in Jekyll menus this is done by treating the "parent" as a whole new menu, like so:

menus:
    parent_menu_item_id:
      weight: 1

Expected Behaviour

Steps to reproduce

1.

Environment

--- @chrisdmacrae commented on [Tue Oct 10 2017](https://github.com/forestryio/admin/issues/826#issuecomment-335477827) This can likely be fixed in the Jekyll Menus plugin, instead of in Forestry.
envygeeks commented 6 years ago

This is a duplicate of #12.