split configs

This commit is contained in:
geekifan
2025-04-28 11:44:25 +08:00
parent f8bac2186a
commit eca429b15e
3 changed files with 40 additions and 43 deletions

View File

@ -4,17 +4,6 @@ enableGitInfo = true
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = false
[languages]
[languages.zh-CN]
languageName = "中文"
languageCode = "zh-CN"
weight = 1
[languages.en]
languageName = "English"
languageCode = "en"
weight = 2
[pagination]
pagerSize = 5
@ -48,35 +37,3 @@ defaultContentLanguageInSubdir = false
[[module.imports]]
path = "github.com/gohugoio/hugo-mod-bootstrap-scss/v5"
[params]
theme_version = "5.2.0"
toc = true
avatar = "img/commons/avatar.jpg"
tagline = "A text-focused Jekyll theme"
[params.assets]
self_host = false
[params.social]
name = "Yifan"
url = "https://github.com/geekifan"
[[params.social.links]]
type = "github"
id = "yourusername" # 或直接使用 url = "https://github.com/yourusername"
icon = "fab fa-github"
[[params.social.links]]
type = "twitter"
id = "yourhandle"
icon = "fab fa-twitter"
[[params.social.links]]
type = "email"
id = "your.email@example.com" # 会被自动分割处理
icon = "fas fa-envelope"
[[params.social.links]]
type = "rss"
icon = "fas fa-rss"
noblank = true # 不在新窗口打开