Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/darshanbaral/aafu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarshan Baral <darshanbaral@gmail.com>2019-07-18 07:40:05 +0300
committerDarshan Baral <darshanbaral@gmail.com>2019-07-18 07:40:05 +0300
commitab781bf4ff9013b02b30108780db1e070878c128 (patch)
tree51bcda12869d279019b9cf49c7a610e75459f787 /exampleSite
parentd885756d2ec104b6b63088208512e5e3f8a12092 (diff)
Theme toggle is obtained by using separate CSS files
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml6
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