-
Notifications
You must be signed in to change notification settings - Fork 0
/
hugo.yaml
282 lines (259 loc) · 7 KB
/
hugo.yaml
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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
# If your site is in 'https', then make sure your base url isn't written using 'http' otherwise your sitemap would
# contain http (as opposeed to https) URLs. This would affect Google indexing of your URLs.
baseURL: "https://dagwbl.github.io"
title: "ZJeapo's Blog"
paginate: 6
theme: [PaperMod]
defaultContentLanguage: en
defaultContentLanguageInSubdir: true
enableInlineShortcodes: true
enableRobotsTXT: true
buildDrafts: false
buildFuture: true
buildExpired: false
enableEmoji: true
pygmentsUseClasses: true
enableGitInfo: true
mainsections: ["posts"]
# googleAnalytics: UA-123-45
minify:
disableXML: true
# minifyOutput: true
languages:
en:
languageName: "English"
weight: 1
taxonomies:
category: categories
tag: tags
series: series
language: en
menu:
main:
- name: Archives
url: archives
weight: 1
# - name: Category
# url: categories/
# weight: 2
# - name: Series
# url: series
# weight: 3
- name: Tags
url: tags/
weight: 4
- name: Search
url: search/
weight: 5
- name: About
url: /about
weight: 6
- name: 🦠
url: https://nav.hiqq.com.cn/
weight: 7
params:
homeInfoParams:
Title: "Timid Thoughts 💫 "
Content: >
*O troupe of little vagrants of the world, leave your footprints in my words.*
- Do not linger to gather flowers to keep them, but walk on, for flowers will keep themselves blooming all your way.
- Thoughts feeds itself with its own words and grows.
- We, the rustling leaves, have a voice that answers the storms, but who are you so silent?
profileMode:
enabled: true
title: Huh, still alive!
imageUrl: "images/home-icon.png"
imageTitle: ZJeapo
imageWidth: 90
imageHeight: 90
buttons:
- name: ⏱️Timeline
url: archives
- name: 🕸️Post
url: posts
- name: 🦉Docs
url: guide
- name: 📎Collect
url: cheatsheet
zh:
languageName: "Chinese"
weight: 3
taxonomies:
language: zh
tag: tags
category: categories
series: series
menu:
main:
- name: 文章
url: archives
weight: 5
- name: 系列
url: series
weight: 6
- name: 搜索
url: search/
weight: 10
- name: 标签
url: tags
weight: 10
# custom params for each language should be under [langcode].parms - hugo v0.120.0
params:
homeInfoParams:
Title: "呜呼~ \U0001F44B"
Content: 还活着!还活着!这感觉真好!
profileMode:
enabled: true
title: "呜呼~ \U0001F44B"
imageUrl: "images/home-icon.png"
imageTitle: ZJeapo
imageWidth: 90
imageHeight: 90
buttons:
- name: 📆时间轴
url: archives
- name: 🕸️文章
url: posts
- name: 🗃️教程
url: guide
- name: 📒小纸条
url: cheatsheet
outputs:
home:
- HTML
- RSS
- JSON
params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
description: "Theme PaperMod - https://github.com/adityatelange/hugo-PaperMod"
author: ZJeapo
dateFormat: "2006-01-02"
# author: ["Me", "You"] # multiple authors
ShowFullTextinRSS: true
defaultTheme: auto
# disableThemeToggle: true
ShowShareButtons: false
ShowReadingTime: true
# disableSpecial1stPost: true
displayFullLangName: true
ShowPostNavLinks: true
ShowBreadCrumbs: true
ShowCodeCopyButtons: true
ShowRssButtonInSectionTermList: true
searchHidden: true
ShowWordCount: true
UseHugoToc: true
ShowAllPagesInArchive: true
ShowPageNums: true
ShowToc: true
comments: true
busuanzi:
enable: true
# images: ["/images/wallpaperflare.com_flower.jpg"]
# ShowShareButtons: true
# ShareButtons: [qq,bilibili]
socialIcons:
- name: github
title: View Source on Github
url: "https://github.com/Dagwbl/"
- name: googlescholar
title: Google scholar
url: "https://scholar.google.com"
- name: youtube
title: Watch some interesting videos
url: "https://youtube.com"
- name: x
url: "https://twitter.com"
- name: bilibili
url: "https://bilibili.com"
- name: tiktok
url: "https://tiktok.com"
- name: Discord
title: Join discord community
url: "https://discord.com/channels/@me"
- name: reddit
title: Take a rest for fun :)
url: "https://reddit.com"
editPost:
URL: "https://github.com/Dagwbl/dagwbl.github.io/edit/main/content"
Text: "Edit" # edit text
appendFilePath: true # to append file path to Edit link
label:
iconSVG: '<svg xmlns="http://www.w3.org/2000/svg" height="25" viewBox="0 -960 960 960" fill="currentColor"><path d="M320-240h320v-80H320v80Zm0-160h320v-80H320v80ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z"/></svg>'
text: "Home"
icon: icon.png
iconHeight: 35
# analytics:
# google:
# SiteVerificationTag: "XYZabc"
assets:
disableHLJS: true
favicon: "favicon/favicon.svg"
# favicon16x16: "<link / abs url>"
# favicon32x32: "<link / abs url>"
# apple_touch_icon: "<link / abs url>"
# safari_pinned_tab: "<link / abs url>"
# cover:
# hidden: true # hide everywhere but not in structured data
# hiddenInList: true # hide on list pages and home
# hiddenInSingle: true # hide on single page
# fuseOpts:
# isCaseSensitive: false
# shouldSort: true
# location: 0
# distance: 1000
# threshold: 0.4
# minMatchCharLength: 0
# keys: ["title", "permalink", "summary", "content"]
markup:
dfaultMarkdownHandler: goldmark
goldmark:
extensions:
definitionList: true
footnote: true
linkify: true
strikethrough: true
table: true
taskList: true
typographer: true
parser:
attribute: true
autoHeadingID: true
autoHeadingIDType: github
renderer:
hardWraps: false
unsafe: true
xHTML: false
highlight:
codeFences: true
guessSyntax: false
hl_Lines: ""
lineNoStart: 1
lineNos: false
lineNumbersInTable: true
noClasses: true
style: monokai
tabWidth: 4
tableOfContents:
endLevel: 3
ordered: false
startLevel: 2
# privacy:
# vimeo:
# disabled: false
# simple: true
# twitter:
# disabled: false
# enableDNT: true
# simple: true
# instagram:
# disabled: false
# simple: true
# youtube:
# disabled: false
# privacyEnhanced: true
services:
instagram:
disableInlineCSS: true
twitter:
disableInlineCSS: true