Skip to content

Commit

Permalink
Don't set the default theme in the HTML
Browse files Browse the repository at this point in the history
Let the rendered CSS decide the theme.
  • Loading branch information
nikdoof committed Aug 15, 2024
1 parent 495aa7e commit 0a85fb5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ languageCode = "en-gb"
title = "dimension.sh"
theme = "dimension"

[params]
style = "forest"

[[params.styles]]
name = "greenscreen"
shortcode = "GS"
Expand Down
2 changes: 1 addition & 1 deletion themes/dimension/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html data-theme="{{ .Site.Params.style }}" lang="en">
<html lang="en">
<html>
{{- partial "header.html" . -}}
<body>
Expand Down

0 comments on commit 0a85fb5

Please sign in to comment.