diff options
author | Darshan Baral <darshanbaral@gmail.com> | 2019-07-18 07:40:05 +0300 |
---|---|---|
committer | Darshan Baral <darshanbaral@gmail.com> | 2019-07-18 07:40:05 +0300 |
commit | ab781bf4ff9013b02b30108780db1e070878c128 (patch) | |
tree | 51bcda12869d279019b9cf49c7a610e75459f787 /exampleSite | |
parent | d885756d2ec104b6b63088208512e5e3f8a12092 (diff) |
Theme toggle is obtained by using separate CSS files
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/config.toml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 70ca4db..606bca6 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -7,7 +7,11 @@ theme = "aafu" author = "Darshan Baral"
description = "Website title"
copyright = "aaa"
- useDarkTheme = false
+
+ [params.theme]
+ allowToggle = true
+ mainTheme = "light"
+ altTheme = "dark"
[params.favicons]
use = true
|