forked from kuhnpeng/halo-theme-fantastic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.yaml
247 lines (243 loc) · 5.85 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
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
sidebar:
label: 个性化
items:
auto_theme:
name: auto_theme
label: 主题模式
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
sidebar_profile:
name: sidebar_profile
label: 侧边栏个人资料
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
sidebar_categories:
name: sidebar_categories
label: 侧边栏分类
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
sidebar_tagcloud:
name: sidebar_tagcloud
label: 侧边栏标签云
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
sidebar_links:
name: sidebar_links
label: 侧边栏链接
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
sidebar_recentpost:
name: sidebar_recentpost
label: 侧边栏最近文章
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
nav_enable:
name: nav_enable
label: 是否显示分类导航
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
profile_enable:
name: profile_enable
label: 是否显示个性签名
type: radio
data-type: bool
default: true
options:
- value: true
label: 显示
- value: false
label: 隐藏
tree_menu_enable:
name: profile_enable
label: 菜单样式
type: radio
data-type: bool
default: false
options:
- value: true
label: 级联菜单
- value: false
label: 列表
sidebar_recentcomment:
name: sidebar_recentcomment
label: 侧边栏最近评论
type: radio
data-type: bool
default: false
options:
- value: true
label: 开启
- value: false
label: 关闭
sidebar_tags:
name: sidebar_tags
label: 侧边栏标签
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
post:
label: 文章设置
items:
share_type:
name: share_type
label: 文章分享组件
type: select
default: 'sharejs'
options:
- value: ''
label: '无'
- value: addtoany
label: addtoany
- value: sharejs
label: sharejs
donate_alipay:
name: donate_alipay
label: 支付宝捐赠二维码
type: attachment
placeholder: '二维码地址'
donate_wechat:
name: donate_wechat
label: 微信捐赠二维码
type: attachment
placeholder: '二维码地址'
mathjax_enable:
name: mathjax_enable
label: MathJax
type: radio
data-type: bool
default: false
options:
- value: true
label: 开启
- value: false
label: 关闭
# code_pretty:
# name: code_pretty
# label: 文章代码高亮主题
# type: select
# default: light
# options:
# - value: Dark
# label: dark
# - value: light
# label: light
comment_enable:
name: comment_enable
label: 显示评论
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
social:
label: 社交设置
items:
social_github:
name: social_github
label: Github
type: text
placeholder: 'zauther'
social_qq:
name: social_qq
label: QQ
type: text
placeholder: 'QQ 号'
social_weibo:
name: social_weibo
label: 微博
type: text
placeholder: '微博用户名'
social_twitter:
name: social_twitter
label: Twitter
type: text
placeholder: 'Twitter 用户名'
social_facebook:
name: social_facebook
label: Facebook
type: text
placeholder: 'Facebook 用户名'
social_email:
name: social_email
label: Email
type: text
placeholder: '邮箱地址'
social_telegram:
name: social_telegram
label: Telegram
type: text
placeholder: 'Telegram 用户名'
custom_links:
label: 自定义链接
items:
links_top:
name: links_top
label: 顶部链接
type: textarea
default: '<a class="navbar-item" target="_blank" title="Download on GitHub" href="https://github.com/halo-dev/halo-theme-icarus">
<i class="fab fa-github"></i>
</a>'
links_footer:
name: links_footer
label: 底部链接
type: textarea
default: '<p class="control">
<a class="button is-white is-large" target="_blank" title="Creative Commons" href="https://creativecommons.org/">
<i class="fab fa-creative-commons title is-4"></i>
</a>
</p>
<p class="control">
<a class="button is-white is-large" target="_blank" title="Attribution 4.0 International" href="https://creativecommons.org/licenses/by/4.0/">
<i class="fab fa-creative-commons-by title is-4"></i>
</a>
</p>'