From 55ec917eb8f6cafc2d92a2afdbfb11a5f96321b0 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Fri, 20 Sep 2024 13:12:58 -0500 Subject: [PATCH] make stuff line up more --- astro.config.ts | 1 + src/components/LeftNav.astro | 4 ++-- src/components/PostList.astro | 2 +- src/content/posts/2024-09-18-hcomp/index.lagda.md | 4 ++-- src/pages/drafts.astro | 2 +- src/pages/index.astro | 2 +- 6 files changed, 8 insertions(+), 7 deletions(-) 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/" : "/";