diff --git a/src/components/Head.astro b/src/components/Head.astro
index 2a4876f..b6469c3 100644
--- a/src/components/Head.astro
+++ b/src/components/Head.astro
@@ -55,7 +55,6 @@ const { title, description } = Astro.props;
};
setTheme();
-
document.addEventListener("astro:after-swap", setTheme);
diff --git a/src/components/Nav.astro b/src/components/Nav.astro
index c42c1f1..ec63a67 100644
--- a/src/components/Nav.astro
+++ b/src/components/Nav.astro
@@ -34,20 +34,3 @@ const routes = ["blog", "tracks"];
-
-
diff --git a/src/layouts/PageLayout.astro b/src/layouts/PageLayout.astro
index fcc501f..697e857 100644
--- a/src/layouts/PageLayout.astro
+++ b/src/layouts/PageLayout.astro
@@ -30,3 +30,20 @@ const { title, description, pubDate, modDate, slug } = Astro.props;