Skip to content

Menus

Menus builds navigation for the header, footer, sidebar or other locations.

  • Add items from Pages, Posts, Categories or Custom links.
  • Drag items to reorder them, nest them to make sub-menus, or use the keyboard controls.
  • Create, rename and delete menus; assign them to locations under Manage locations.
  • Each language can have its own variant of a menu.

Links are checked: internal paths and http(s) URLs are fine, javascript: links are refused.

In a template:

---
import { getMenu } from "wuppy";
const menu = await getMenu("header", Astro.currentLocale);
---