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

@ -44,6 +44,10 @@ class Context {
get => buildNavigation($this);
}
public array $breadcrumbs {
get => buildBreadcrumbs($this);
}
public string $homeLabel {
get => loadMetadata($this->contentDir)["slug"] ?? "Home";
}