Skip to content

Commit 3066a53

Browse files
committed
hugo: set book theme to auto to support light/dark mode
1 parent b16eb18 commit 3066a53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

website/config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ theme = "hugo-book"
2222
BookCommitPath = 'commit'
2323
BookEditLink = '{{ .Site.Params.BookRepo }}/edit/main/{{ .Path }}'
2424
BookIndexPage = 'README.md'
25+
BookTheme = 'auto'
2526

2627
[modules]
2728
[[module.mounts]]

0 commit comments

Comments
 (0)