diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 9e8cd1e..5ade135 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -110,8 +110,8 @@ dateFormatToUse = "2006-01-02"
description = "About LoveIt Theme"
# site keywords
keywords = ["Theme", "Hugo"]
- # site default theme ("light", "dark")
- defaultTheme = "light"
+ # site default theme ("light", "dark", "auto")
+ defaultTheme = "auto"
# Home Page Info
##home mode ("post", "other")
diff --git a/exampleSite/zh/config.toml b/exampleSite/zh/config.toml
index 48c5e47..ca16c46 100644
--- a/exampleSite/zh/config.toml
+++ b/exampleSite/zh/config.toml
@@ -110,8 +110,8 @@ dateFormatToUse = "2006-01-02"
description = "关于 LoveIt 主题"
# 网站关键词
keywords = ["Theme", "Hugo"]
- # 网站默认主题 ("light", "dark")
- defaultTheme = "light"
+ # 网站默认主题 ("light", "dark", "auto")
+ defaultTheme = "auto"
# 主页信息设置
## 主页模式 ("post", "other")
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index d8b40c6..9cd2b89 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -17,7 +17,12 @@
{{- /* Check theme isDark before body rendering */ -}}
{{- end -}}
@@ -48,11 +48,11 @@
{{- end -}}