Repository navigation
Expand file tree
/
Copy pathhugo.toml
More file actions
102 lines (89 loc) · 2.57 KB
/
Copy pathhugo.toml
File metadata and controls
102 lines (89 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
baseURL = 'https://Chelics.github.io/' # TODO: 记得改这里
languageCode = 'zh-cn'
title = 'MY SPACE' # TODO: 记得改这里
theme = 'FixIt'
# 开启强制中文支持,优化搜索和字数统计
hasCJKLanguage = true
# 语法高亮配置
[markup.highlight]
noClasses = true
lineNos = false
guessSyntax = false
style = "solarized-light"
[params]
# 默认主题模式 ("light", "dark", "auto")
defaultTheme = "auto"
# 首页个人介绍卡片
[params.home.profile]
enable = true
gravatarEmail = ""
avatarURL = "https://github.com/Chelics.png"
title = "Chelics"
subtitle = "Stay curious, stay building."
typeit = true
social = false
disclaimer = ""
# 社交链接配置
[params.social]
GitHub = "Chelics"
email = "youremail@example.com"
# 1. 作者信息配置 (显示在侧边栏或底部)
[params.author]
name = "Chelics"
email = "youremail@example.com"
avatar = "https://github.com/Chelics.png"
# 2. 顶栏配置
[params.header]
[params.header.title]
icon = "fa-solid fa-microchip"
name = "个人实验室"
# 3. 首页打字机效果 (提升 UI 灵动感)
[params.index.typeit]
enable = true
# 这里写你想展示的座右铭或自我介绍
content = "一名准研究生,正在构建自己的第二大脑。持续学习,保持好奇。"
speed = 100
cursor = true
# 4. 回到顶部与阅读进度
[params.backtotop]
enable = true
scrollpercent = true # 在回到顶部按钮上显示阅读百分比
# 自定义 CSS
[params.page.library.css]
custom = "css/custom.css"
# 5. 文章页面全局配置
[params.page]
# 是否在所有文章中默认开启目录
[params.page.toc]
enable = true
# 是否保持目录在正文上方 (true) 还是固定在侧边栏 (false)
keepStatic = false
# 是否自动收纳目录
auto = true
# 是否开启代码复制按钮
[params.page.code]
copy = true
maxLines = 10
[menu]
[[menu.main]]
identifier = "posts"
pre = "<i class='fa-solid fa-archive fa-fw' aria-hidden='true'></i>"
name = "博文"
url = "/posts/"
weight = 1
[[menu.main]]
identifier = "categories"
pre = "<i class='fa-solid fa-th fa-fw' aria-hidden='true'></i>"
name = "分类"
url = "/categories/"
weight = 2
[[menu.main]]
identifier = "about"
pre = "<i class='fa-solid fa-user-circle fa-fw' aria-hidden='true'></i>"
name = "关于"
url = "/about/"
weight = 3
[languages]
[languages.zh-cn]
languageName = "简体中文"
hasFullContent = true