fix: breadcrumbs slots

This commit is contained in:
Oleksandr 2026-03-16 10:59:00 +02:00 committed by outfoxxed
parent b5d9c3e098
commit 1cafa09456
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E

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: "",
});
}
---