We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e041d41 commit e0e83f3Copy full SHA for e0e83f3
docs/src/layouts/MainLayout.astro
@@ -4,7 +4,7 @@ import TopNav from "../components/TopNav.astro";
4
import Footer from "../components/Footer.astro";
5
---
6
7
-<script>
+<script is:inline>
8
// On page load or when changing themes, best to add inline in `head` to avoid FOUC
9
if (
10
localStorage.theme === "dark" ||
0 commit comments