Skip to content

Commit

Permalink
redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
martrapp committed Nov 23, 2024
1 parent 3bdd63f commit 830ff99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion public/_redirects
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/inspection-chamber/ /tools/inspection-chamber/ 301
/overview/ /vtbag/ 301
/about /vtbag/ 301
/basics/testpage/ /basics/test-page/
/basics/testpage/ /basics/test-page/ 301
/tips/hide-and-seek/* /basics/hide-and-seek/:splat 301
2 changes: 1 addition & 1 deletion src/components/LightDark.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script is:inline>
const _ = document.documentElement;
_.dataset.theme = _.style.colorScheme =
localStorage.getItem("starlight-theme") ||
top.localStorage.getItem("starlight-theme") ||
(window.matchMedia("(prefers-color-scheme: dark)").matches
? "dark"
: "light");
Expand Down

0 comments on commit 830ff99

Please sign in to comment.