You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.
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:
{{- if $.Site.Menus.main }}
...
{{ end -}}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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:
The text was updated successfully, but these errors were encountered: