forestryio / jekyll-menus

A menus (site navigation) plugin for your Jekyll website that also works with https://forestry.io (Jekyll CMS)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Menu nesting working incorrectly for Jekyll

ncphillips opened this issue · comments

commented

@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

Environment


@chrisdmacrae commented on Tue Oct 10 2017

This can likely be fixed in the Jekyll Menus plugin, instead of in Forestry.

This is a duplicate of #12.