From bb13b52d44a55420a919f3c915bbd75a8a889889 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Mon, 7 Dec 2020 01:14:40 +0800 Subject: [PATCH] Simplify theme-mode config --- _config.yml | 9 +++++---- _includes/sidebar.html | 4 ++-- _layouts/default.html | 6 +++--- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/_config.yml b/_config.yml index 1b103a3..b9128f1 100644 --- a/_config.yml +++ b/_config.yml @@ -67,16 +67,17 @@ disqus: shortname: '' # Fill with your Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname -# Prefer color scheme setting, available values: +# Prefer color scheme setting, keep empty will follow the system prefer color by default. +# And there will be a toggle to switch the theme between dark and light +# on the bottom left of the sidebar. # -# dual - Follow the system prefer color by default, and a toggle will display -# in the left bottom of Sidebar, which used for switch the theme between dark and light. +# Available values: # # light - Use the light color scheme # # dark - Use the dark color scheme # -theme_mode: dual +theme_mode: # boolean type, the global switch for ToC in posts. toc: true diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 745a63a..0be1471 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -52,12 +52,12 @@