Skip to content

Commit

Permalink
Merge pull request #44 from VGVentures/fix/config
Browse files Browse the repository at this point in the history
fix: configuration
  • Loading branch information
jolexxa authored Aug 14, 2024
2 parents 463c5fd + c882769 commit bccb5d5
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ export default defineConfig({
// See https://scottwillsey.com/theme-flicker/
tag: "script",
attrs: {
src: `
<script>
const theme = localStorage.getItem("theme") || "light";
type: "text/javascript",
},
content: `
theme = localStorage.getItem("theme") || "light";
document.documentElement.dataset.theme = theme;
</script>
`,
},
},
],
customCss: [
Expand All @@ -42,7 +41,7 @@ export default defineConfig({
],
editLink: {
baseUrl:
"https://github.com/vgventures/very_good_engineering/edit/main/docs/",
"https://github.com/vgventures/very_good_engineering/edit/main/",
},
logo: {
light: "./src/assets/logos/unicorn_light.png",
Expand Down

0 comments on commit bccb5d5

Please sign in to comment.