-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml
More file actions
205 lines (187 loc) · 3.87 KB
/
Copy pathconfig.yml
File metadata and controls
205 lines (187 loc) · 3.87 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
baseURL: 'https://ppphp.github.io/'
languageCode: 'zh-cn'
title: "a usr/bin"
enableRobotsTXT: true
buildDrafts: false
buildFuture: false
buildExpired: false
hasCJKLanguage: true
minify:
disableXML: true
minifyOutput: true
params:
comments: true
disqusShortname: 'ppphp-1'
social:
- name: github
url: "https://github.com/ppphp"
- name: twitter
url: "https://twitter.com/"
- name: stackoverflow
url: "https://stackoverflow.com"
- name: rss
url: "/index.xml"
title: "a usr/bin"
description: "个人技术博客,分享编程、工具使用和思考"
keywords: [博客, 技术, 编程, 工具, 思考]
author: ppphp
DateFormat: "2006-1-2"
defaultTheme: auto
disableThemeToggle: false
ShowReadingTime: true
ShowShareButtons: true
ShowPostNavLinks: true
ShowBreadCrumbs: true
ShowCodeCopyButtons: true
ShowWordCount: true
ShowRssButtonInSectionTermList: true
UseHugoToc: true
disableSpecial1stPost: false
disableScrollToTop: false
hidemeta: false
hideSummary: false
showtoc: true
tocopen: false
# profile-mode
profileMode:
enabled: false
title: "a usr/bin"
subtitle: "个人技术博客"
imageUrl: "img/avatar.png"
imageWidth: 120
imageHeight: 120
imageTitle: "avatar"
buttons:
- name: 文章
url: posts
- name: 标签
url: tags
- name: 归档
url: archives
# home-info mode
homeInfoParams:
Title: "Hi there 👋"
Content: "欢迎来到我的个人技术博客,这里分享我在编程、工具使用和思考方面的心得体会。"
cover:
hidden: true
hiddenInList: true
hiddenInSingle: true
editPost:
URL: "https://github.com/ppphp/ppphp.github.io/tree/master/content"
Text: "建议修改"
appendFilePath: true
# 搜索优化
fuseOpts:
isCaseSensitive: false
shouldSort: true
location: 0
distance: 1000
threshold: 0.4
minMatchCharLength: 0
keys: ["title", "permalink", "summary", "content"]
# 社交媒体图标
socialIcons: []
# SEO设置
env: production
analytics:
google:
SiteVerificationTag: ""
menu:
main:
- identifier: home
name: 首页
url: /
weight: 10
- identifier: posts
name: 文章
url: /posts/
weight: 20
- identifier: archives
name: 归档
url: /archives/
weight: 30
- identifier: categories
name: 分类
url: /categories/
weight: 40
- identifier: tags
name: 标签
url: /tags/
weight: 50
- identifier: search
name: 搜索
url: /search/
weight: 60
- identifier: works
name: 作品
url: /works/
weight: 70
# 代码高亮设置
pygmentsUseClasses: true
markup:
goldmark:
renderer:
unsafe: true
parser:
attribute:
block: true
title: true
highlight:
noClasses: false
lineNos: true
lineNumbersInTable: true
style: monokai
guessSyntax: true
codeFences: true
# 模块设置
module:
imports:
- path: github.com/adityatelange/hugo-PaperMod
# 使用最新版本的PaperMod主题
disable: false
# 输出设置
outputs:
home:
- HTML
- RSS
- JSON
section:
- HTML
- RSS
taxonomy:
- HTML
- RSS
term:
- HTML
- RSS
# 隐私设置
privacy:
youtube:
disable: false
privacyEnhanced: true
vimeo:
disable: false
enableDNT: true
x:
disable: false
enableDNT: true
instagram:
disable: false
simple: true
googleAnalytics:
disable: true
# 安全设置
security:
enableInlineShortcodes: false
exec:
allow:
- dart-sass-embedded
- go run
- go
osEnv:
- (?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$
funcs:
- getenv
allowExec: true
allowOSExec: true
allowExecOrigin: []