-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yml
255 lines (231 loc) · 6.07 KB
/
config.yml
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
baseURL: "https://du1ab.org/"
title: Wuan's Blog
paginate: 5
theme: papermod
defaultContentLanguage: 'cn'
summaryLength: 140
hasCJKLanguage: true
enableInlineShortcodes: true
enableRobotsTXT: true
buildDrafts: false
buildFuture: false
buildExpired: false
enableEmoji: true
googleAnalytics: UA-17307682-1
permalinks:
"posts": "/:year/:title/"
minify:
disableXML: true
# minifyOutput: true
outputs:
home:
- HTML
- RSS
- JSON
# 只导出最近10条
services:
rss:
limit: 10
languages:
# 日常综合
cn:
languageName: ":cn:"
title: Wuan's Blog
weight: 1
menu:
main:
- name: 订阅
title: Subscribe
url: index.xml
weight: 1
- name: 浏览
title: Tags
url: tags/
weight: 2
- name: 搜索
title: Search
url: search/
weight: 3
params:
languageAltTitle: "MaDe in China by humans"
# 佛法实践
ff:
languageName: ":earth_asia:"
title: Wuan's Blog
weight: 2
menu:
main:
- name: 订阅
title: Subscribe
url: index.xml
weight: 1
- name: 浏览
title: Tags
url: tags/
weight: 2
- name: 搜索
title: Search
url: search/
weight: 3
params:
languageAltTitle: "Made on Earth by humans"
homeInfoParams:
Title: "Do you wanna be the one"
Content: |
我不确定此世有无轮回,有无因果业报。但若它们存在,我死后肯定会出生在美好世界中。
我不确定此世有无轮回,有无因果业报。即使没有,我仍然在死后可以为自己和家人博得美德。
若恶人有恶报,那么我不对任何人怀有恶意,不造恶业,我将来肯定不会遇到不幸。
若恶人没有恶报,那么至少我能做到无愧于他人。
—— 出于[《卡拉玛经》](https://zh.wikipedia.org/wiki/%E5%8D%A1%E6%8B%89%E7%8E%9B%E7%BB%8F)
# 个人简介
me:
languageName: ":penguin:"
title: Wuan's Blog
weight: 3
params:
languageAltTitle: "About me"
profileMode:
enabled: true
title: ABOUT
subtitle: "| M | E |"
# imageUrl: "placeholder.jpg"
# imageTitle: my image
# imageWidth: 500
# imageHeight: 498
buttons:
- name: 计算机
url: ../
- name: 八正道
url: ../ff
# 交换链接
socialIcons:
- name: twitter
url: "https://twitter.com/s5unty"
- name: github
url: "https://github.com/s5unty"
- name: telegram
url: "https://telegram.me/s5unty"
- name: email
url: "mailto:s5unty@gmail.com"
params:
# to enable google analytics, opengraph, twitter-cards and schema.
env: production
description: "Do you wanna be the one"
author: wuan
# author: ["Me", "You"] # multiple authors
# 默认色系(亮色/暗色)
defaultTheme: auto
# 禁用色系切换
disableThemeToggle: false
# 不显示时间和标签等信息
hidemeta: false
# 篇末是否显示分享按钮
ShowShareButtons: false
# 是否提示阅读所需时间(中文不准)
ShowReadingTime: false
# 将首篇格式化为homeInfo(仅当homeInfo为空时),是否禁用该功能
disableSpecial1stPost: true
# 是否显示语境的全名(实际是经过 emojify 美化的符号)
displayFullLangName: true
# 篇末是否显示前后一篇的导航
ShowPostNavLinks: false
# 页头是否显示面包屑(breadcrumbs)导航
ShowBreadCrumbs: false
# 代码区块是否显示复制按钮
ShowCodeCopyButtons: true
# RSS导出的是全文(true)还是摘要(false)
ShowFullTextinRSS: true
# 篇头是否显示篇幅的目录大纲
ShowToc: true
# 页末是否启用留言功能
comments: true
# 日期显示格式
DateFormat: "2006-01-02"
# RSS导出和Tiwtter卡片,会用到的图片
# images: ["papermod-cover.png"]
# 首页开启profile模式(类似于简历模式)
profileMode:
enabled: false
# 提请编辑本篇博客的跳转链接(类似于pull request)
editPost:
URL: "https://github.com/s5unty/du1ab.org/tree/master/content"
Text: "Suggest Changes" # edit text
appendFilePath: true # to append file path to Edit link
# 站点的标识和图片(页面左上方)
label:
text: ""
icon: "/favicon_32x32.png"
iconHeight: 32
# analytics:
# google:
# SiteVerificationTag: "XYZabc"
# 一些会用到的图片变量(static/)
assets:
disableHLJS: true
favicon: "/favicon.ico"
favicon16x16: "/favicon_16x16.png"
favicon32x32: "/favicon_32x32.png"
apple_touch_icon: "/apple-touch-icon.png"
safari_pinned_tab: "/apple-touch-icon.png"
# 封面图片
cover:
hidden: true # hide everywhere but not in structured data
hiddenInList: false # hide on list pages and home
hiddenInSingle: false # hide on single page
# 搜索功能的参数
fuseOpts:
isCaseSensitive: false
minMatchCharLength: 1
shouldSort: true
location: 0
distance: 1000
threshold: 0.3
keys: ["title", "permalink", "summary", "tags"]
# 分类学
# https://gohugo.io/content-management/taxonomies/
taxonomies:
tag: tags
# 语法标记
markup:
# 启用内置高亮,必须同时禁用(disableHLJS: true)
highlight:
# lineNos: true
# noClasses: false
codeFences: true
guessSyntax: true
style: friendly
# 内置的 Markdown 解释器(goldmark)
goldmark:
extensions:
definitionList: true
footnote: true
linkify: true
strikethrough: true
table: true
taskList: true
typographer: true
parser:
autoHeadingID: true
autoHeadingIDType: github
attribute:
block: false
title: true
renderer:
hardWraps: true
unsafe: true
# 数据隐私
# https://gohugo.io/about/hugo-and-gdpr/
privacy:
vimeo:
disabled: false
simple: true
twitter:
disabled: false
enableDNT: true
simple: true
instagram:
disabled: false
simple: true
youtube:
disabled: false
privacyEnhanced: true