diff --git a/astro.config.ts b/astro.config.ts index e8d131d..35d9095 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -22,6 +22,7 @@ const publicDir = "public"; // https://astro.build/config export default defineConfig({ site: "https://mzhang.io", + prefetch: true, integrations: [mdx(), sitemap(), markdoc()], outDir, diff --git a/src/components/LeftNav.astro b/src/components/LeftNav.astro index e75e782..3f17ffb 100644 --- a/src/components/LeftNav.astro +++ b/src/components/LeftNav.astro @@ -10,13 +10,13 @@ const target = Astro.url.pathname === "/" ? "/about/" : "/";