Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CorwinDev committed Dec 23, 2023
1 parent 2b587bc commit 1ae61fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{{ end }}
</title>
{{ $style := resources.Get "style.css" }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<link rel="stylesheet" href="/style.css">
<script>
// On page load or when changing themes, best to add inline in `head` to avoid FOUC
if (localStorage.getItem('color-theme') === 'dark' || (!('color-theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
Expand Down

0 comments on commit 1ae61fd

Please sign in to comment.