diff --git a/src/components/Nav.astro b/src/components/Nav.astro index 91859ca..c3cf0ae 100644 --- a/src/components/Nav.astro +++ b/src/components/Nav.astro @@ -39,7 +39,7 @@ const currentPath = Astro.url.pathname; } const isExternal = item.href?.startsWith("http"); - const isActive = item.href === currentPath; + const isActive = !isExternal && item.href === currentPath; const nextItem = navItems[index + 1]; const shouldShowThinBar = nextItem && !nextItem.blockSeparator; @@ -59,9 +59,10 @@ const currentPath = Astro.url.pathname; {shouldShowThinBar && ( -
+ )} > );