Navigation item
One entry of a site's navigation menu: a Link block with display text and a link, stored as a child of the detached navigation block.Extends · closed
| type Block type tag, always `Link`. | Link | |
| id Block id of this menu entry. | ||
| text Label shown in the menu. | ||
| link Where the entry goes — an `hm://` or web URL. |
A navigation item is one entry of a site's menu. The menu is a detached block named navigation: a block with state but no position in the content tree. It is neither metadata nor part of the body. Each of its children is one of these Link blocks: text is the label and link is an hm:// or web URL. The Seed app edits the menu in a site's settings, and the daemon returns it in the document's detached blocks. See Blocks.
See also
Blocks: detached blocks and navigation.
Sites: the site the menu belongs to.
metadata: the document's attributes.
ReplaceBlock: how detached blocks are written.
URLs: what a menu link can point at.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime
Powered by Seed HypermediaOpen App