forked from YunYouJun/yunyoujun.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalaxy.config.ts
70 lines (64 loc) · 1.35 KB
/
valaxy.config.ts
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
import { defineValaxyConfig } from 'valaxy'
import type { UserThemeConfig } from 'valaxy-theme-yun'
import { addonWaline } from 'valaxy-addon-waline'
import { addonAlgolia } from 'valaxy-addon-algolia'
/**
* User Config
* do not use export const
*/
export default defineValaxyConfig<UserThemeConfig> ({
theme: 'yun',
themeConfig: {
banner: {
enable: true,
title: '云游君的小站',
cloud: {
enable: true,
},
},
pages: [
{
name: '我的小伙伴们',
url: '/links/',
icon: 'i-ri-genderless-line',
color: 'dodgerblue',
},
{
name: '赞助者们',
url: 'https://sponsors.yunyoujun.cn',
icon: 'i-ri-heart-line',
color: 'red',
},
{
name: '喜欢的女孩子',
url: '/girls/',
icon: 'i-ri-women-line',
color: 'hotpink',
},
],
footer: {
since: 2016,
beian: {
enable: true,
icp: '苏ICP备17038157号',
},
},
},
unocss: {
safelist: [
'i-ri-home-line',
],
},
addons: [
addonAlgolia({
appId: 'CJXXAGRCYN',
apiKey: 'ae1966d2aeab22bf9335679f45d2cd9a',
indexName: 'my-hexo-blog',
}),
addonWaline({
serverURL: 'https://waline.yunyoujun.cn',
// pageview: true,
comment: true,
}),
],
})