summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_config.yml2
-rw-r--r--_includes/extensions/theme-toggle.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/_config.yml b/_config.yml
index 5833722..fc34587 100644
--- a/_config.yml
+++ b/_config.yml
@@ -79,7 +79,7 @@ yat:
# theme_color: "#882250"
# Night mode, default is "auto", "auto" is for auto nightshift (19:00 - 07:00),
-# "mannual" is for mannual toggle, and "on/off" is for always on/off.
+# "manual" is for manual toggle, and "on/off" is for always on/off.
# night_mode: "auto"
# If you want to link only specific pages in your header, uncomment
diff --git a/_includes/extensions/theme-toggle.html b/_includes/extensions/theme-toggle.html
index d426f65..df04c29 100644
--- a/_includes/extensions/theme-toggle.html
+++ b/_includes/extensions/theme-toggle.html
@@ -94,7 +94,7 @@
} else {
handleThemeToggle(themeData.nightShift);
}
- } else if (nightModeOption == 'mannual') {
+ } else if (nightModeOption == 'manual') {
handleThemeToggle(themeData.nightShift);
} else {
handleThemeToggle(nightModeOption == 'on');