Add breadcrumbs function, docs and tests
This commit is contained in:
parent
4448798bf5
commit
2bdb432a9f
12 changed files with 451 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ These use PHP 8.4 `private(set)` — readable but not writable from outside the
|
|||
| Property | Type | Description |
|
||||
|---|---|---|
|
||||
| `navigation` | array | `buildNavigation($this)` — lazy-computed on access |
|
||||
| `breadcrumbs` | array | `buildBreadcrumbs($this)` — lazy-computed on access, returns breadcrumb trail for nested pages |
|
||||
| `homeLabel` | string | From root `metadata.ini` `slug` field, default `"Home"`. Note: reads `slug`, not `title` — typically set to a short label like "Home" or "Hjem" |
|
||||
|
||||
### Plugin Data Store
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue