When additional menus are defined, the menu templates have errors.
The mobile menu shows as empty
The desktop template fails to compile
Example of error:
execute of template failed: template: partials/menu.html:4:16: executing "partials/menu.html" at <first $.Site.Params.showMenuItems $.Site.Menus.main>: error calling first: both limit and seq must be provided
Proposed Solution
My workaround is to wrap the full definition of each template in a conditional:
When additional menus are defined, the menu templates have errors.
Example of error:
Proposed Solution
My workaround is to wrap the full definition of each template in a conditional: