forked from ppoffice/hexo-theme-icarus
-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathsettings.yaml
207 lines (207 loc) · 6.07 KB
/
settings.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
apiVersion: v1alpha1
kind: Setting
metadata:
name: theme-icarus-setting
spec:
forms:
- group: post
label: 文章设置
formSchema:
- $formkit: select
name: share_type
label: 文章分享组件
value: ""
options:
- value: ""
label: 无
- value: addtoany
label: addtoany
- value: bdshare
label: bdshare
- value: sharejs
label: sharejs
- $formkit: text
name: donate_alipay
label: 支付宝捐赠二维码
placeholder: 二维码地址
- $formkit: text
name: donate_wechat
label: 微信捐赠二维码
placeholder: 二维码地址
- $formkit: radio
name: katex_enable
label: Katex 渲染
value: false
options:
- value: true
label: 开启
- value: false
label: 关闭
- group: sidebar
label: 侧边栏
formSchema:
- $formkit: group
label: 个人资料
name: profile
children:
- $formkit: text
name: nickname
label: 昵称
help: 如不填写,默认使用站点标题
- $formkit: text
name: bio
label: 个人简介
help: 如不填写,默认使用站点副标题
- $formkit: text
name: avatar
label: 头像
help: 如不填写,默认使用站点 Logo
- $formkit: select
name: avatar_type
label: 头像形状
value: avatar_rounded
options:
- value: avatar_rounded
label: 圆形
- value: avatar_square
label: 方形
- $formkit: text
name: location
label: 地理位置
help: 个人所在地
- $formkit: text
name: follow_url
label: 【关注我】按钮地址
help: 默认为博客地址
- $formkit: repeater
name: social_media
label: 社交媒体
children:
- $formkit: text
name: name
label: 名称
- $formkit: text
name: url
label: 地址
- $formkit: text
name: icon
label: 图标
help: Font Awesome 图标,如:fab fa-github
- $formkit: radio
name: sidebar_profile
label: 侧边栏个人资料
value: true
options:
- value: true
label: 开启
- value: false
label: 关闭
- $formkit: radio
name: sidebar_categories
label: 侧边栏分类
value: true
options:
- value: true
label: 开启
- value: false
label: 关闭
- $formkit: radio
name: sidebar_tagcloud
label: 侧边栏标签云
value: true
options:
- value: true
label: 开启
- value: false
label: 关闭
- $formkit: radio
name: sidebar_links
label: 侧边栏链接
value: true
options:
- value: true
label: 开启
- value: false
label: 关闭
- $formkit: radio
name: sidebar_recentpost
label: 侧边栏最近文章
value: true
options:
- value: true
label: 开启
- value: false
label: 关闭
- $formkit: radio
name: sidebar_recentcomment
label: 侧边栏最近评论
value: false
options:
- value: true
label: 开启
- value: false
label: 关闭
- $formkit: radio
name: sidebar_tags
label: 侧边栏标签
value: true
options:
- value: true
label: 开启
- value: false
label: 关闭
- group: custom_links
label: 自定义链接
formSchema:
- $formkit: repeater
name: links_top
label: 顶部链接
value:
- name: Download on GitHub
url: https://github.com/halo-dev/halo-theme-icarus
icon: "fab fa-github"
children:
- $formkit: text
name: name
label: 名称
- $formkit: text
name: url
label: 地址
- $formkit: text
name: icon
label: 图标
help: Font Awesome 图标,如:fab fa-github
- $formkit: repeater
name: links_footer
label: 底部链接
value:
- name: Creative Commons
url: https://creativecommons.org/
icon: "fab fa-creative-commons"
- name: Attribution 4.0 International
url: https://creativecommons.org/licenses/by/4.0/
icon: "fab fa-creative-commons-by"
children:
- $formkit: text
name: name
label: 名称
- $formkit: text
name: url
label: 地址
- $formkit: text
name: icon
label: 图标
help: Font Awesome 图标,如:fab fa-github
- group: development
label: 开发设置
formSchema:
- $formkit: radio
name: enabled
label: 开发模式
value: false
help: 仅供开发环境使用,开启此设置后,所有静态资源由 Vite 开发服务器提供,所以需要在本地启动 Vite 服务(pnpm dev)
options:
- value: true
label: 开启
- value: false
label: 关闭