Skip to content
Gitupcms
Esc
↑↓navigate↵open⌘Jpreview
On this page

Menus

Edit header, footer and sidebar menus per language, and choose which menu each location shows.

Menus edits the menus collection: one src/content/menus/<lang>.json file per language.

  • Drag items to reorder them (or use the up/down buttons with a keyboard or touch screen). Sub-menus are one level deep.
  • Add menu items lists the site’s pages and the entries of collections that have their own page.
  • Create menu adds a menu to the language file that is open.
  • Auto add pages adds new collection entries created in the CMS to the menu, as a separate commit.

Locations

Locations (header, footer, sidebar) are stored in src/content/menu-locations.json. Themes that read this collection show the chosen menu directly. For themes that do not, saving copies the chosen menu to the theme’s own key (header, footer) in every language in the same commit.

Was this page helpful?