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
I tried {% assign menu = Content["alias:main-menu-en"] %}, it worked but this way I have to keep loading the detail of each menu item to reach their url.
Is there any more efficient way to do this? I want to render my menu at the footer but in different format than what I have for top navigation.
I just want to grab a whole of all the information in a menu in one go and render them myself in a loop at the footer.
e.g. is there any equivalent of
{% shape "menu", alias: "alias:main-menu", cache_id: "main-menu", cache_expires_after: "00:05:00", cache_tag: "alias:main-menu" %} that just instantiate the shape but not render it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried
{% assign menu = Content["alias:main-menu-en"] %}
, it worked but this way I have to keep loading the detail of each menu item to reach their url.Is there any more efficient way to do this? I want to render my menu at the footer but in different format than what I have for top navigation.
I just want to grab a whole of all the information in a menu in one go and render them myself in a loop at the footer.
e.g. is there any equivalent of
{% shape "menu", alias: "alias:main-menu", cache_id: "main-menu", cache_expires_after: "00:05:00", cache_tag: "alias:main-menu" %}
that just instantiate the shape but not render it?Beta Was this translation helpful? Give feedback.
All reactions