fix: breadcrumbs slots

This commit is contained in:
Oleksandr 2026-03-16 10:59:00 +02:00
parent 2e505f7606
commit 7cc57b770d
Signed by: Xanazf
GPG key ID: 821EEC32761AC17C

View file

@ -34,6 +34,7 @@ if (url[0] === "docs") {
breadcrumbs.push({
text: `Docs (${version})`,
href: linkPath,
slot: "",
});
url = url.slice(2);
}
@ -43,6 +44,7 @@ for (const segment of url) {
breadcrumbs.push({
text: segment[0].toUpperCase() + segment.slice(1),
href: linkPath,
slot: "",
});
}
---