-
Notifications
You must be signed in to change notification settings - Fork 0
/
hugo.yaml
210 lines (183 loc) · 4 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
baseURL: https://perfsky.github.io/
languageCode: en-us
title: Sakuya's Blog
theme: hextra
enableRobotsTXT: true
enableGitInfo: true
enableEmoji: true
hasCJKLanguage: true
outputs:
home: [HTML]
page: [HTML]
section: [HTML, RSS]
defaultContentLanguage: zh-cn
languages:
zh-cn:
languageName: 简体中文
languageCode: zh-CN
weight: 1
title: Sakuya's Blog
# en:
# languageName: English
# weight: 2
# title: Sakuya's Blog
# module:
# hugoVersion:
# extended: true
# min: "0.112.0"
# workspace: hugo.work
# imports:
# - path: github.com/imfing/hextra
markup:
goldmark:
renderer:
unsafe: true
highlight:
noClasses: false
enableInlineShortcodes: true
# 将来的打算:增加项目更新
menu:
main:
- identifier: my_blog
name: Blog
pageRef: /blogs
weight: 1
- identifier: matches
name: Matches
pageRef: /matches
weight: 2
- identifier: misc
name: Misc
pageRef: /misc
weight: 3
- identifier: about
name: About
pageRef: /about
weight: 4
- name: Search
weight: 5
params:
type: search
- name: GitHub
weight: 6
url: "https://github.com/perfsakuya"
params:
icon: github
# menu bak
# menu:
# main:
# - identifier: documentation
# name: Documentation
# pageRef: /docs
# weight: 1
# - identifier: showcase
# name: Showcase
# pageRef: /showcase
# weight: 2
# - identifier: blog
# name: Blog
# pageRef: /blog
# weight: 3
# - identifier: about
# name: About
# pageRef: /about
# weight: 4
# - name: Search
# weight: 5
# params:
# type: search
# - name: GitHub
# weight: 6
# url: "https://github.com/imfing/hextra"
# params:
# icon: github
sidebar:
- identifier: more
name: More
params:
type: separator
weight: 1
- identifier: about
name: "About"
pageRef: "/about"
weight: 2
- identifier: hugoDocs
name: "Hugo Docs ↗"
url: "https://gohugo.io/documentation/"
weight: 3
params:
description: "Sakuya的个人博客. Sakuya's Personal Blog"
navbar:
displayTitle: true
displayLogo: true
logo:
path: images/logo.svg
dark: images/logo-dark.svg
# width: 40
# height: 20
# link: /
width: wide
page:
# full (100%), wide (90rem), normal (1280px)
width: normal
theme:
# light | dark | system
default: system
displayToggle: true
footer:
enable: true
displayCopyright: true
displayPoweredBy: true
width: wide
displayUpdatedDate: true
dateFormat: "January 2, 2006"
# Search
# flexsearch is enabled by default
search:
enable: true
type: flexsearch
flexsearch:
# index page by: content | summary | heading | title
index: content
# full | forward | reverse | strict
# https://github.com/nextapps-de/flexsearch/#tokenizer-prefix-search
tokenize: full
editURL:
enable: false
base: "https://github.com/imfing/hextra/edit/main/exampleSite/content"
blog:
list:
displayTags: true
# date | lastmod | publishDate | title | weight
sortBy: date
sortOrder: desc # or "asc"
highlight:
copy:
enable: true
# hover | always
display: hover
comments:
enable: true
type: giscus
# https://giscus.app/
giscus:
repo: perfsky/perfsky.github.io
repoId: R_kgDOM-0keg
category: General
categoryId: DIC_kwDOM-0kes4CjT0r
mapping: pathname
strict: 0
reactionsEnabled: 0
emitMetadata: 0
inputPosition: top
lazyLoading: true
# lang: en
services:
googleAnalytics:
ID: G-XTKTFNE828
# Don't know how to use it
# frontmatter:
# date = ["date", "publishDate", "lastmod"]
# lastmod = [":git", "lastmod", "date", "publishDate"]
# publishDate = ["publishDate", "date"]
# expiryDate = ["expiryDate"]