diff --git a/src/components/Header.astro b/src/components/Header.astro index b171d8b..6d8bad9 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -71,18 +71,22 @@ const { activeNav } = Astro.props; - + { + SITE.lightAndDarkMode && ( + + ) + } diff --git a/src/config.ts b/src/config.ts index ab5a4ff..65eb48d 100644 --- a/src/config.ts +++ b/src/config.ts @@ -6,6 +6,7 @@ export const SITE = { desc: "A minimal, responsive and SEO-friendly Astro blog theme.", title: "AstroPaper", ogImage: "og-default.png", + lightAndDarkMode: true, postPerPage: 3, };