Skip to content

Commit

Permalink
fix: [display] dark mode preference was not taken into account.
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricbonhomme committed Mar 4, 2022
1 parent 62ea796 commit 57011f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
>
{{- partial "head.html" . -}}
<body
{{ if eq .Params.displayMode "dark" }}
{{ if eq .Site.Params.displayMode "dark" }}
class="body theme--dark"

{{ else }}
Expand Down

0 comments on commit 57011f1

Please sign in to comment.