Skip to content

Commit ff3026f

Browse files
committed
hugo: set book theme to auto to support light/dark mode
1 parent 12d903c commit ff3026f

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
@@ -23,6 +23,7 @@ theme = "hugo-book"
2323
BookCommitPath = 'commit'
2424
BookEditLink = '{{ .Site.Params.BookRepo }}/edit/main/{{ .Path }}'
2525
BookIndexPage = 'README.md'
26+
BookTheme = 'auto'
2627

2728
[modules]
2829
[[module.mounts]]

0 commit comments

Comments
 (0)