diff options
author | Dillon <dillonzq@outlook.com> | 2020-02-08 17:19:22 +0300 |
---|---|---|
committer | Dillon <dillonzq@outlook.com> | 2020-02-08 17:19:22 +0300 |
commit | 095089fb3f05fd37e401ce407daef87224a96e0d (patch) | |
tree | 4bafaeb3aa3159bc088cc26e947fb78f26f26fb0 /exampleSite | |
parent | c5e64a9a61ed2b388ad9eaa7a8778b89959912e9 (diff) |
feat(config): add config for default theme light/dark
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/config.toml | 4 | ||||
-rw-r--r-- | exampleSite/zh/config.toml | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index b8aba27..c11d145 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -110,9 +110,11 @@ dateFormatToUse = "2006-01-02" description = "About LoveIt Theme" # site keywords keywords = ["Theme", "Hugo"] + # site default theme ("light", "dark") + defaultTheme = "light" # Home Page Info - ## [post, other] home mode + ##home mode ("post", "other") home_mode = "post" ## special amount of posts in each home post page home_paginate = 6 diff --git a/exampleSite/zh/config.toml b/exampleSite/zh/config.toml index cd822bd..d84263b 100644 --- a/exampleSite/zh/config.toml +++ b/exampleSite/zh/config.toml @@ -110,9 +110,11 @@ dateFormatToUse = "2006-01-02" description = "关于 LoveIt 主题" # 网站关键词 keywords = ["Theme", "Hugo"] + # 网站默认主题 ("light", "dark") + defaultTheme = "light" # 主页信息设置 - ## [post, other] 主页模式 + ## 主页模式 ("post", "other") home_mode = "post" ## 主页在 post 模式下每页 post 显示数量 home_paginate = 6 |