Add breadcrumbs function, docs and tests

This commit is contained in:
Ruben 2026-05-20 23:23:01 +02:00
parent 4448798bf5
commit 2bdb432a9f
12 changed files with 451 additions and 0 deletions

View file

@ -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