-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
142 lines (133 loc) · 3.65 KB
/
config.yaml
File metadata and controls
142 lines (133 loc) · 3.65 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
baseURL: 'https://algo.qianfaner.xyz'
defaultContentLanguage: zh-cn
languageCode: zh-CN
hasCJKLanguage: true
title: 听取WA声一片
author:
name: forest0
email: forest9643@gmail.com
theme: LoveIt
taxonomies:
category: categories
series: series
tag: tags
enableEmoji: true
params:
version: 0.2.X
app:
title: 听取WA声一片
page:
toc:
enable: true
keepStatic: false # 将目录保持在右侧而非文章上方
auto: true # 是否使侧边目录自动折叠展开
code:
copy: true # 是否显示代码块的复制按钮
maxShownLines: 15 # 默认展开显示的代码行数
math:
enable: true
blockLeftDelimiter: $$
blockRightDelimiter: $$
inlineLeftDelimiter: $
inlineRightDelimiter: $
copyTex: true
mhchem: false # 化学公式
comment:
enable: true
valine:
enable: true
# 这俩默认公开
appId: "0oY57xjaaWexwTN7GLcm9MHO-MdYXbMMI"
appKey: "F5F8AD1DExNMEJxvI1t6kX2E"
placeholder: "o(*≧▽≦)ツ写得不错"
avatar: "mp"
# meta: ""
pageSize: 10
lang: "zh-CN"
visitor: true # 文章访问量统计
recordIP: false # 是否记录评论者IP
highlight: true # 代码高亮
enableQQ: false # 是否启用昵称框自动获取QQ昵称和QQ头像
# serverURLs: "" # 海外版本自动填写,国内自定义域名需要处理
# LoveIt 新增 | 0.2.6 emoji 数据文件名称, 默认是 "google.yml"
# ("apple.yml", "google.yml", "facebook.yml", "twitter.yml")
# 位于 "themes/LoveIt/assets/data/emoji/" 目录
# 可以在你的项目下相同路径存放你自己的数据文件:
# "assets/data/emoji/"
emoji: "apple.yml"
search:
enable: true
# 搜索引擎的类型 ("lunr", "algolia")
type: lunr
# 文章内容最长索引长度
contentLength: 4000
# 搜索框的占位提示语
placeholder: ""
# LoveIt 新增 | 0.2.1 最大结果数目
maxResultLength: 10
# LoveIt 新增 | 0.2.3 结果内容片段长度
snippetLength: 50
# LoveIt 新增 | 0.2.1 搜索结果中高亮部分的 HTML 标签
highlightTag: "em"
# LoveIt 新增 | 0.2.4 是否在搜索索引中使用基于 baseURL 的绝对路径
absoluteURL: false
menu:
main:
- identifier: posts
# 在名称 (允许 HTML 格式) 前添加其他信息, 例如图标
pre: ''
# 在名称 (允许 HTML 格式) 后添加其他信息, 例如图标
post: ''
name: 文章
url: /posts/
# 当鼠标悬停在此菜单链接上时, 将显示的标题
title: ''
weight: 1
- identifier: tags
pre: ''
post: ''
name: 标签
url: /tags/
title: ''
weight: 2
- identifier: categories
pre: ''
post: ''
name: 分类
url: /categories/
title: ''
weight: 3
- identifier: series
pre: ''
post: ''
name: 系列
url: /series/
title: ''
weight: 4
- identifier: about
pre: ''
post: ''
name: 关于
url: /about/
title: ''
weight: 5
- identifier: github
pre: "<i class='fab fa-github fa-fw'></i>"
post: ''
name: ''
url: 'https://github.com/forest0/algo'
title: 'Github'
weight: 6
markup:
highlight: # 语法高亮设置
# false 是必要的设置 see also: https://github.com/dillonzq/LoveIt/issues/158
noClasses: false
codeFences: true
guessSyntax: true
lineNos: true
lineNumbersInTable: true
outputs:
home:
- HTML
- RSS
- JSON