forked from volantis-x/community
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.volantis.yml
427 lines (399 loc) · 14.9 KB
/
_config.volantis.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
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
debug: false
content_visibility: true
navbar:
logo: # choose [img] or [icon + title]
img: '' # volantis-static/media/org.volantis/blog/[email protected]
icon:
title: 'Volantis 6 <sup style="color:#ff9800">alpha</sup>'
menu:
- name: 文档
icon: fa-duotone fa-book faa-tada
url: /v6/getting-started/
target: _self
- name: 示例
icon: fa-duotone fa-play-circle faa-tada
url: /examples/
- name: 帮助
icon: fa-duotone fa-question-circle faa-tada
url: /faqs/
- name: 鸣谢
icon: fa-duotone fa-heart
url: /contributors/
- name: 更多
icon: fa-duotone fa-ellipsis-v
rows:
- name: 暗黑模式
icon: fa-solid fa-moon
toggle: darkmode
- name: hr
- name: 本站源码
url: https://github.com/volantis-x/volantis-docs/
- name: 主题源码
url: https://github.com/volantis-x/hexo-theme-volantis/
- name: hr
- name: 更新日志
url: https://github.com/volantis-x/hexo-theme-volantis/releases/
- name: 博客文章
url: /archives/
- name: hr
- name: 文档 v5
url: /v5/getting-started/
# - name: 旧版文档 v4
# url: /v4/getting-started/
# - name: 旧版文档 v3
# url: /v3/getting-started/
# - name: 旧版文档 v2
# url: /v2/getting-started/
cover:
# height_scheme: full # full, half
title: 'Volantis'
subtitle: '中文创作者社区'
background: # https://bing.ioliu.cn/v1/rand?w=1920&h=1200
features:
- name: 博客
img: volantis-static/media/twemoji/assets/svg/1f4f0.svg
url: /
- name: 文档
img: volantis-static/media/twemoji/assets/svg/1f516.svg
url: /v6/getting-started/
target: _self
- name: 示例
img: volantis-static/media/twemoji/assets/svg/1f4af.svg
url: /examples/
- name: 帮助
img: volantis-static/media/twemoji/assets/svg/1f4ac.svg
url: /faqs/
- name: 鸣谢
img: volantis-static/media/twemoji/assets/svg/1f497.svg
url: /contributors/
- name: 归档
img: volantis-static/media/twemoji/assets/svg/1f5c3.svg
url: /archives/
- name: 源码
img: volantis-static/media/twemoji/assets/svg/1f9ec.svg
url: https://github.com/volantis-x/hexo-theme-volantis/
target: _self
article:
preview:
scheme: landscape # landscape
# pin icon for post
pin_icon: # volantis-static/media/twemoji/assets/svg/1f4cc.svg
# auto generate title if not exist
auto_title: false # false, true
# auto generate excerpt if not exist
auto_excerpt: false # false, true
author: true
# show readmore button
readmore: auto # auto, always
body:
top_meta: [author, category, date]
meta_library:
author:
avatar: volantis-static/media/org.volantis/blog/favicon/apple-touch-icon.png
name: Volantis Team
url: https://github.com/volantis-x/
updated:
title: '本页文档最后更新于:'
comments:
service: giscus
giscus:
theme:
light: "light"
dark: "dark"
repo: volantis-x/community
repo-id: MDEwOlJlcG9zaXRvcnkyNDIzNjY1ODM=
mapping: "number"
term: "145"
reactions-enabled: "1"
emit-metadata: "0"
lang: "zh-CN"
input-position: "top"
disqus:
shortname: volantis
path: /
valine:
appId: FIKAgh6n0pUM08JXxhJHChVQ-MdYXbMMI
appKey: RJGiOYFc1fBvfox4frBPpRzU
path: /
utterances:
repo: volantis-x/community
issue-number: 115
beaudar:
repo: volantis-x/community
issue-number: 115
sidebar:
for_page: [qgroup, post, category, guide]
for_post: [toc]
widget_library:
toc:
class: toc
display: [desktop, mobile] # [desktop, mobile]
header:
icon: fa-solid fa-list
title: 本文目录
list_number: true
min_depth: 2
max_depth: 5
post:
class: text
display: [desktop, mobile] # [desktop, mobile]
sticky: true
header:
icon: fa-solid fa-plus
title: 社区活动
url: /contributors/
content:
- '**如何让自己的文章收录到这里?**<br>官方网站是开源的,只要您的文章与 Hexo 博客搭建相关,就可以自助进行收录,详细的操作步骤请见:「[**发布与分享文章**](/contributors/#发布与分享文章)」。'
# 文档导航
guide:
class: grid
display: [desktop, mobile] # [desktop, mobile]
header:
icon: fa-solid fa-map-signs
title: 分类导航
fixed: true # 固定宽度
rows:
- name: 常见问题
icon: fa-solid fa-question-circle
url: /faqs/
- name: 示例博客
icon: fa-solid fa-play-circle
url: /examples/
- name: 特别感谢
icon: fa-solid fa-handshake
url: /contributors/
- name: 测试博文
icon: fa-solid fa-file-alt
url: /archives/
- name: 主题源码
icon: fa-solid fa-file-code
url: https://github.com/volantis-x/hexo-theme-volantis/
rel: external nofollow noopener noreferrer
target: _blank
- name: 更新日志
icon: fa-solid fa-tags
url: https://github.com/volantis-x/hexo-theme-volantis/releases/
rel: external nofollow noopener noreferrer
target: _blank
# qrcode widget
qrcode:
class: qrcode
display: [desktop] # [desktop, mobile]
header:
icon: fa-solid fa-mobile
title: 手机观看
height: #64px # Automatic height if not set
fancybox: #true
images:
- volantis-static/media/org.volantis/blog/qrcode/[email protected]
qgroup:
class: text
display: [desktop, moblie]
header:
icon: fa-brands fa-qq
title: '加入 QQ 群'
content:
- '如果你在使用中遇到问题,请到 [Github Issues](https://github.com/volantis-x/hexo-theme-volantis/issues) 或者 [留言板](/faqs/#comments) 进行反馈,你也可以加入 [Telegram](https://t.me/volantis_x) 或者 **QQ 群**,验证码:vlts-2021<br>[![](https://bu.dusays.com/2021/09/24/ae832f0aadee8.png)](https://qm.qq.com/cgi-bin/qm/qr?k=FpexWW5GCLWOM3jF3LG-YWfllXuv7cMs&jump_from=webapi)'
help:
class: page
display: [desktop, mobile]
header:
icon: fa-solid fa-headset
title: 帮助
pid: faq
content: excerpt # excerpt, more, content
news:
class: list
display: [desktop, mobile] # [desktop, mobile]
header:
icon: fa-solid fa-exclamation-triangle
title: 近期公告
rows:
- name: 关于主题与文档的更新
icon: fa-solid fa-info-circle
url: https://github.com/volantis-x/hexo-theme-volantis/issues/215
- name: 升级小助手
icon: fa-solid fa-angle-double-up
url: /v3/getting-started/#升级小助手
docs-v2:
class: group
display: [desktop, mobile] # [desktop, mobile]
header:
icon: fa-duotone fa-list-alt
title: 文档导航 v2
docs-v3:
class: group
display: [desktop, mobile] # [desktop, mobile]
header:
icon: fa-duotone fa-list-alt
title: 文档导航 v3
docs-v4:
class: group
display: [desktop, mobile] # [desktop, mobile]
header:
icon: fa-duotone fa-list-alt
title: 文档导航 v4
docs-v5:
class: group
display: [desktop, mobile] # [desktop, mobile]
header:
icon: fa-duotone fa-list-alt
title: 文档导航 v5
docs-v6:
class: group
display: [desktop, mobile] # [desktop, mobile]
header:
icon: fa-duotone fa-list-alt
title: 文档导航 v6
docs-latest:
class: group
display: [desktop, mobile] # [desktop, mobile]
header:
icon: fa-duotone fa-book
title: 文档导航 v5.0
docs-volantis-latest:
class: group
display: [desktop, mobile] # [desktop, mobile]
seo_title: Volantis
header:
icon: fa fa-book
title: 文档导航 v5.0
site_footer:
layout: [aplayer, social, source, analytics, copyright]
copyright: '[Copyright © Since 2017 Volantis Team](https://github.com/volantis-x/)'
social:
- img: volantis-static/media/org.volantis/icon/1322024-social-media/020-rss.svg
url: atom.xml
- img: volantis-static/media/org.volantis/icon/1322024-social-media/029-github.svg
url: https://github.com/volantis-x/
- img: volantis-static/media/org.volantis/icon/1322024-social-media/010-facebook.svg
url: https://t.me/volantis_x
- img: volantis-static/media/org.volantis/icon/1322024-social-media/018-twitter.svg
url: https://t.me/volantis_x
- img: volantis-static/media/org.volantis/icon/1322024-social-media/045-telegram.svg
url: https://t.me/volantis_x
- img: volantis-static/media/org.volantis/icon/1322024-social-media/006-youtube.svg
url: https://t.me/volantis_x
tag_plugins:
# {% note text %}
note: # style for default note:
iconfont: 'Font Awesome 6 Pro'
plugins:
clipboard:
enable: true
fontawesome: volantis-static/libs/@fortawesome/fontawesome-pro/css/all.min.css
parallax:
enable: true
busuanzi:
enable: true
aplayer:
enable: true
autoplay: false
volume: 0.4
order: random
# id: 4917530132 # vol red
# id: 4917524698 # vol blue
# id: 76244489 # vol white
# id: 5135845906 # for Volantis 3.0
id: 5062959861 # TOP 30
message: # 音乐通知,播放、暂停、失败 时的图标
enable: true
icon: # 默认图标,支持对图标添加颜色,可选值:see:/source/css/_plugins/message.styl
default: fa-light fa-info-circle light-blue
quection: fa-light fa-question-circle light-blue
copyright: # 是否在复制时弹出版权提示
enable: false
title: '知识共享许可协议'
message: '请遵守 CC BY-NC-SA 4.0 协议。'
icon: 'fa-brands fa-creative-commons light-blue'
aplayer:
enable: true
play: fa-light fa-play light-blue
pause: fa-light fa-pause light-blue
error: fa-light fa-exclamation-square red
darkmode:
enable: true
gitter:
room: hexo-theme-volantis/community
scrollreveal:
enable: true
custom_css:
cursor:
enable: true
font_smoothing: true
# sidebar:
# effect: [shadow] # [shadow, floatable, blur]
# body:
# effect: [shadow] # [shadow, floatable, blur]
fontfamily:
logofont:
fontfamily: 'Dosis, "PingFang SC", "Microsoft YaHei", Helvetica, Arial'
name: 'Dosis'
url: volantis-static/media/fonts/Dosis/Dosis-Medium.ttf
weight: normal
style: normal
bodyfont:
fontfamily: 'Dosis, "PingFang SC", "Microsoft YaHei", Helvetica, Arial'
name: 'Dosis'
url: volantis-static/media/fonts/Dosis/Dosis-Medium.ttf
weight: normal
style: normal
rightmenus:
enable: true
order:
- plugins.navigation
- hr
- plugins.inputBox
- plugins.seletctText
- plugins.elementCheck
- plugins.elementImage
- hr
- menus.prevNext
- hr
- menus.links
- hr
- menus.darkMode
- hr
- plugins.articlePage
- hr
- music
options:
iconPrefix: fa-duotone PETERRIVE
articleShowLink: true
plugins:
navigation:
- {id: 'left', name: '转到上一页', icon: 'fa-duotone fa-arrow-left PETERRIVE', event: 'history.back()', group: 'navigation'}
- {id: 'right', name: '转到下一页', icon: 'fa-duotone fa-arrow-right PETERRIVE', event: 'history.forward()', group: 'navigation'}
- {id: 'redo', name: '刷新当前页面', icon: 'fa-duotone fa-redo PETERRIVE', event: 'window.location.reload()', group: 'navigation'}
# - {id: 'home', name: '回到首页', icon: 'fa-duotone fa-home PETERRIVE', link: '/', group: 'navigation'}
- {id: 'up', name: '回到顶部', icon: 'fa-duotone fa-arrow-up PETERRIVE', event: 'VolantisApp.scrolltoElement(volantis.dom.bodyAnchor)', group: 'navigation'}
articlePage:
- {id: 'printMode', name: '打印页面', icon: 'fa-duotone fa-print TURQUOISE', event: 'printMode', group: 'articlePage'}
- {id: 'readMode', name: '阅读模式', icon: 'fa-duotone fa-book-open EMERALD', event: 'readMode', group: 'articlePage'}
inputBox:
- {id: 'copyPaste', name: '粘贴文本', icon: 'fa-duotone PETERRIVE fa-paste', event: 'copyPaste', group: 'inputBox'}
- {id: 'copyAll', name: '全选文本', icon: 'fa-duotone PETERRIVE fa-object-ungroup', event: 'copyAll', group: 'inputBox'}
- {id: 'copyCut', name: '剪切文本', icon: 'fa-duotone PETERRIVE fa-cut', event: 'copyCut', group: 'inputBox'}
seletctText:
- {id: 'copyText', name: '复制文本', icon: 'fa-duotone PETERRIVE fa-copy', event: 'copyText', group: 'seletctText'}
- {id: 'searchWord', name: '站内搜索', icon: 'fa-duotone PETERRIVE fa-search', event: 'OpenSearch(__text__)', group: 'seletctText'}
- {id: 'bingSearch', name: '必应搜索', icon: 'fa-duotone PETERRIVE fa-search', event: 'window.open(`https://cn.bing.com/search?q=${__text__}`)', group: 'seletctText'}
elementCheck:
- {id: 'openTab', name: '新标签页打开', icon: 'fa-duotone PETERRIVE fa-external-link-square-alt', event: 'window.open(__link__)', group: 'elementCheck'}
- {id: 'copyLink', name: '复制链接地址', icon: 'fa-duotone PETERRIVE fa-link', event: 'copyLink', group: 'elementCheck'}
elementImage:
- {id: 'copyImg', name: '复制图片', icon: 'fa-duotone PETERRIVE fa-image', event: 'copyImg', group: 'elementImage'}
- {id: 'googleImg', name: '谷歌识图', icon: 'fa-duotone PETERRIVE fa-images', event: 'window.open(`https://www.google.com/searchbyimage?image_url=${__link__}`)', group: 'elementImage'}
menus:
links:
- {id: 'help', name: '常见问题', icon: 'fa-duotone fa-question EMERALD', link: '/faqs/', group: 'link'}
- {id: 'examples', name: '示例博客', icon: 'fa-duotone fa-rss PETERRIVE', link: '/examples/', group: 'link'}
- {id: 'contributors', name: '加入社区', icon: 'fa-duotone fa-fan fa-spin AMETHYST', link: '/contributors/', group: 'link'}
- hr
- {id: 'source_docs', name: '本站源码', icon: 'fa-duotone fa-code-branch WETASPHALT', link: 'https://github.com/volantis-x/volantis-docs/', group: 'link'}
- {id: 'source_theme', name: '主题源码', icon: 'fa-duotone fa-code-branch CONCRETE', link: 'https://github.com/volantis-x/hexo-theme-volantis/', group: 'link'}
darkMode:
- {id: 'darkMode', name: '暗黑模式', icon: 'fa-duotone fa-eclipse-alt WISTERIA', event: 'volantis.dark.toggle()', group: 'darkMode'}
prevNext:
- {id: 'prev', name: '查看上一篇', icon: 'fa-duotone fa-angles-left PETERRIVE', event: "volantis.rightmenu.jump('prev')", group: 'prevNext'}
- {id: 'next', name: '查看下一篇', icon: 'fa-duotone fa-angles-right PETERRIVE', event: "volantis.rightmenu.jump('next')", group: 'prevNext'}