-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
249 lines (219 loc) · 6.3 KB
/
Copy pathconfig.toml
File metadata and controls
249 lines (219 loc) · 6.3 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
baseURL = "https://huizhixu.github.io"
metaDataFormat = "yaml"
title = "HuizhiXu 的个人博客"
theme = "blist"
relativeURLs = true
canonifyURLs = true
isCJKLanguage = true
DefaultContentLanguage = "chs"
DefaultContentLanguageInSubdir = false
[author]
name = "HuizhiXu"
[languages]
[languages.chs]
contentDir = 'content/chs'
languageName = '中文 (简体)'
title = '徐慧志的个人博客'
weight = 1
[languages.chs.params]
introTitle = "你好,我是慧志"
introSubtitle = "一名工程师,喜欢技术,也爱读书和写字。这里散落着我的笔记和日常,欢迎随意逛逛。"
introPhoto = "/picture.jpg"
logo = "/huizhi-mark-logo.png"
reading_speed = 400
[[languages.chs.menu.main]]
name = "生活"
url = "/life/"
weight = 2
[[languages.chs.menu.main]]
name = "关于"
url = "/page/about/"
weight = 3
[[languages.chs.menu.main]]
name = "技术"
url = "/know_how/"
weight = 1
[[languages.chs.menu.main]]
name = "分类"
url = "/tags/"
weight = 5
[languages.en]
contentDir = 'content/en'
languageName = 'English'
title = 'PoirotMore'
weight = 2
[languages.en.params]
introTitle = "Hey! I'm Huizhi Xu"
introSubtitle = "A senior developer who enjoys reading, blogging and dancing"
introPhoto = "/picture.jpg"
logo = "/huizhi-mark-logo.png"
reading_speed = 228
frontBundle = "life"
[[languages.en.menu.main]]
name = "Blog"
url = "/life/"
weight = 1
[[languages.en.menu.main]]
name = "About"
url = "/page/about/"
weight = 2
[[languages.en.menu.main]]
name = "Tags"
url = "/tags/"
weight = 3
[languages.de]
contentDir = 'content/de'
languageName = 'Deutsch'
title = 'Blog von Huizhi XU'
weight = 3
[languages.de.params]
introTitle = "Hallo, ich bin Huizhi Xu"
introSubtitle = "Eine Senior-Entwicklerin, die Spaß an Lesen, Bloggen und Zumba"
introPhoto = "/picture.jpg"
logo = "/huizhi-mark-logo.png"
reading_speed = 179
frontBundle = "life"
[[languages.de.menu.main]]
name = "Blog"
url = "/life/"
weight = 1
[[languages.de.menu.main]]
name = "Über mich"
url = "/page/about/"
weight = 2
[[languages.de.menu.main]]
name = "Tags"
url = "/tags/"
weight = 3
[params]
# Enable the darkmode toggle in header
darkModeToggle = true
# Enable search in header
enableSearch = true
# Option to customize the search parameters of a page
# Below are the supported options; Note that including entire content
# may slowdown the loading of search results
# Title of page is included by default
searchKeys = [
"tags",
"date",
"categories",
"summary",
"content",
"link",
]
# Custom copyright - optional
copyright = "Copyright © 2012 - Huizhi Xu · All rights reserved"
favicon = "/huizhi-mark-logo.png"
# Color for the intro details and social links block, not applicable for dark mode
# Supported values: Any color from TailwindCSS default colors
# Reference: https://tailwindcss.com/docs/customizing-colors
ascentColor = "bg-blue-100"
# The page bundle that is shown on the front page
frontBundle = "know_how"
featuredTags = [
"ai",
"llm",
"agent",
"rag",
"comfyui",
"obsidian",
"bayesian",
"read",
"life",
]
# Used to hide the post metadata such as posted date, reading time and word count
# Can be used at site level or page level
hideMeta = false
# To hide "Other languages" option if the post is available in multiple languages
# Can be used at site level or page level
hideOtherLanguages = false
# Add support for Table of contents
# Can be added to a page level also in markdown frontmatter
toc = true
# Hides the thumbnail in post view
# Thumbnails in home and blog pages will still be shown
# This setting can also be in page's markdown file
hidePageThumbnail = false
# Comments system
[params.comments]
# Supports disqus, giscus and utterances
# Check hugo docs for setting up disqus
system = "utterances"
repo = "HuizhiXu/huizhixu.github.io"
issueterm = "pathname"
theme = "github-light"
[params.homepage.social]
# Global params common for both languages
title = "Sein heißt werden, leben heißt lernen."
description = "Der einfache Weg is immer verkehrt."
[[params.homepage.social.icons]]
website = "github"
url = "https://github.com/HuizhiXu"
[[menu.main]]
name = "主页"
url = "/"
weight = 1
[build]
writeStats = true
[outputs]
home = ["HTML", "RSS", "JSON"]
# ignoreFiles = [ "\\.qmd$", "\\.ipynb$", "\\.py$" ]
# syntax highlight settings
[markup]
[markup.goldmark]
[markup.goldmark.extensions]
definitionList = true
footnote = true
linkify = true
linkifyProtocol = 'https'
strikethrough = true
table = true
taskList = true
[markup.goldmark.extensions.cjk]
eastAsianLineBreaks = false
eastAsianLineBreaksStyle = 'simple'
enable = false
escapedSpace = false
[markup.goldmark.extensions.passthrough]
enable = false
[markup.goldmark.extensions.passthrough.delimiters]
block = []
inline = []
[markup.goldmark.extensions.typographer]
apostrophe = '’'
disable = false
ellipsis = '…'
emDash = '—'
enDash = '–'
leftAngleQuote = '«'
leftDoubleQuote = '“'
leftSingleQuote = '‘'
rightAngleQuote = '»'
rightDoubleQuote = '”'
rightSingleQuote = '’'
[markup.goldmark.parser]
autoHeadingID = true
autoHeadingIDType = 'github'
wrapStandAloneImageWithinParagraph = true
[markup.goldmark.parser.attribute]
block = false
title = true
[markup.goldmark.renderer]
hardWraps = false
unsafe = true
xhtml = false
[markup.highlight]
anchorLineNos = false
codeFences = true
guessSyntax = false
hl_Lines = ''
hl_inline = false
lineAnchors = ''
lineNoStart = 1
lineNos = false
lineNumbersInTable = true
noClasses = true
noHl = false
style = 'monokai'
tabWidth = 4