diff --git a/astro.config.ts b/astro.config.ts index 7ea1e16e..03446078 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -28,6 +28,9 @@ function rehypeExternalLinksPlugin() { // https://astro.build/config export default defineConfig({ + prefetch: { + prefetchAll: true, + }, integrations: [mdx(), tailwind(), compress()], markdown: { remarkPlugins: [setDefaultLayout], diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index c7adf505..a3f7be32 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -22,45 +22,44 @@ import ThemeToggle from '@components/ThemeToggle.astro' KoMa - {title} - - - +