We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b719c97 commit 1b42c2dCopy full SHA for 1b42c2d
1 file changed
src/lib/components/Layout.svelte
@@ -44,7 +44,7 @@
44
if (section.route !== "" && $page.url.pathname.startsWith(`/${section.route}`)) {
45
currentSectionName = section.name
46
subNavigation = (section.children || []).map((child) => ({
47
- href: isInternalLink(child.route) ? `/${section.route}/${child.route}` : child.route,
+ href: child.route.startsWith("http") ? child.route : `/${section.route}/${child.route}`,
48
name: child.name,
49
}))
50
}
0 commit comments