From 93c4d7bf1d3442862db007f6b3c4a4002944962d Mon Sep 17 00:00:00 2001 From: anso33 Date: Thu, 16 Nov 2023 08:56:06 +0900 Subject: [PATCH] fix: Modify theme-mode --- _config.yml | 3 ++- _layouts/default.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index b825afe..255f750 100644 --- a/_config.yml +++ b/_config.yml @@ -141,7 +141,8 @@ yat: # it will be always kept on every visit (i.e. no matter # the browser is closed or not) # -night_mode: "on" +# night_mode: "on" +theme_mode: dark # Code badge setting # You can enable or disable the code badge and so on diff --git a/_layouts/default.html b/_layouts/default.html index f8e8e6b..bf33ac8 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -11,7 +11,7 @@ {%- include extensions/hashlocate.html -%} - {%- include extensions/theme-toggle.html -%} + {%- include extensions/click-to-top.html -%}