pub fn item<M, K, I: Into<K>>(key: I, title: impl IntoText<M>) -> NavItem<K>Expand description
A nav item: item("today", res::str::today()).icon(res::images::today).page(today_page)
(docs/navigation.md). Goes into a Nav::items or Nav::section block, alone, in a
tuple, or from a nav_items mapper; an item without a page is built by
the nav’s Nav::destination. For a typed nav over Option<Section> pass the bare
Section::X.