Skip to content

Commit

Permalink
bugfix: dark mode no longer flashes light mode on load
Browse files Browse the repository at this point in the history
  • Loading branch information
AliceOrunitia committed Oct 2, 2024
1 parent 60d4c2a commit 356f2ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@
</main>
{{ partial "footer.html" . }}
</div>
{{ partialCached "scripts.html" . }}
</body>
</html>
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{{ template "_internal/schema.html" . -}}
{{ template "_internal/twitter_cards.html" . -}}
{{ partialCached "head-css.html" . "asdf" -}}

{{ partialCached "scripts.html" . }}
{{ if .Site.Params.prism_syntax_highlighting -}}
<link rel="stylesheet" href="{{ "css/prism.css" | relURL }}"/>
{{ end -}}
Expand Down

0 comments on commit 356f2ca

Please sign in to comment.