diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro
index 5999457..03ef9b3 100644
--- a/src/components/Navbar.astro
+++ b/src/components/Navbar.astro
@@ -36,12 +36,6 @@ const { showSidebarButton = true } = Astro.props;
>
Standard Library
-
- Help
-
post.relative_file === "/index.md" || post.relative_file === "/index.mdx");
-const basePath = index_page.url;
+if (index_page === undefined && process.env.NODE_ENV !== "production") {
+ console.error("\n\nBuilding without an index page");
+ console.error("Props base_dir:", base_dir);
+}
+const basePath = index_page?.url ?? "/";
---