diff --git a/astro.config.mjs b/astro.config.mjs index 6c30b50..6df6d1b 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -22,4 +22,8 @@ export default defineConfig({ image: { service: passthroughImageService(), }, + prefetch: { + defaultStrategy: "viewport", + prefetchAll: false, + }, }); diff --git a/src/components/molecules/PostCard.astro b/src/components/molecules/PostCard.astro index b0f89d6..3ad6dd9 100644 --- a/src/components/molecules/PostCard.astro +++ b/src/components/molecules/PostCard.astro @@ -10,7 +10,7 @@ const dateTypeCreatedAt = new Date(createdAt); ---
- +

diff --git a/src/pages/introduction.astro b/src/pages/introduction.astro index 88936fd..241c08d 100644 --- a/src/pages/introduction.astro +++ b/src/pages/introduction.astro @@ -1,4 +1,5 @@ --- +export const prerender = true; import Layout from "../layouts/Layout.astro"; ---