-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.config.ts
167 lines (158 loc) · 4.05 KB
/
site.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
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
import { defineSiteConfig } from 'valaxy'
export default defineSiteConfig({
url: 'https://www.dstbp.cn',
lang: 'zh-CN',
title: '微澜尘寰 の Blog', // 网站标题、网站标签栏标题
subtitle: '', // 副标题
description: '你恳求世界不要打扰你的独处,在夜幕降临的时候却又非常孤独。', // 描述
favicon: 'https://www.dstbp.com/favicon.svg', // 站点图标
author: {
avatar: 'https://www.dstbp.com/images/author/logo.jpg', // 头像
name: 'r0xanne', // 头像下方名
status: {
emoji: '👩💻', // 当前状态
},
},
social: [
{
name: 'RSS',
link: '/atom.xml',
icon: 'i-ri-rss-line',
color: 'orange',
},
{
name: 'QQ 2090674202',
link: 'https://qm.qq.com/q/d9WyblloVa',
icon: 'i-ri-qq-line',
color: '#12B7F5',
},
{
name: 'GitHub',
link: 'https://github.com/DSTBP',
icon: 'i-ri-github-line',
color: '#6e5494',
},
// {
// name: '微博',
// link: 'https://weibo.com/jizhideyunyoujun',
// icon: 'i-ri-weibo-line',
// color: '#E6162D',
// },
// {
// name: '豆瓣',
// link: 'https://www.douban.com/people/yunyoujun/',
// icon: 'i-ri-douban-line',
// color: '#007722',
// },
{
name: '网易云音乐',
link: 'https://music.163.com/#/user/home?id=490393660',
icon: 'i-ri-netease-cloud-music-line',
color: '#C20C0C',
},
// {
// name: '知乎',
// link: 'https://www.zhihu.com/people/yunyoujun/',
// icon: 'i-ri-zhihu-line',
// color: '#0084FF',
// },
{
name: '哔哩哔哩',
link: 'https://space.bilibili.com/381751905',
icon: 'i-ri-bilibili-line',
color: '#FF8EB3',
},
{
name: '微信公众号',
link: 'https://www.dstbp.com/images/author/Official_Accounts.jpg',
icon: 'i-ri-wechat-2-line',
color: '#1AAD19',
},
{
name: 'Twitter',
link: 'https://x.com/WangTaddeo',
icon: 'i-ri-twitter-line',
color: '#1da1f2',
},
{
name: 'Telegram Channel',
link: 'https://t.me/r0_xanne',
icon: 'i-ri-telegram-line',
color: '#0088CC',
},
{
name: 'E-Mail',
link: 'http://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&email=KBoYERgeHxwaGBpoWVkGS0dF',
icon: 'i-ri-mail-line',
color: '#8E71C1',
},
{
name: '语雀',
link: 'https://www.yuque.com/dstbp',
icon: 'i-ri-yuque-line',
color: '#3BD47F',
},
],
search: {
enable: true,
type: 'fuse',
},
sponsor: {
enable: true,
// title: '我很可爱,请给我钱!',
description: '赏杯汽水喝呗!',
methods: [
{
name: '支付宝',
url: 'https://www.dstbp.com/images/donate/zfb.jpg',
color: '#00A3EE',
icon: 'i-ri-alipay-line',
},
// {
// name: 'QQ 支付',
// url: 'https://cdn.yunyoujun.cn/img/donate/qqpay-qrcode.png',
// color: '#12B7F5',
// icon: 'i-ri-qq-line',
// },
{
name: '微信支付',
url: 'https://www.dstbp.com/images/donate/vx.jpg',
color: '#2DC100',
icon: 'i-ri-wechat-pay-line',
},
],
},
/**
* 开启阅读统计
*/
statistics: {
enable: true,
readTime: {
speed: {
cn: 300,
en: 200,
},
},
},
codeHeightLimit: 500,
/**
* 文章 Frontmatter
*/
frontmatter: {
time_warning: true, // 显示阅读时间提醒
// password: "123123" // 内容加密的密码
},
/**
* 评论
*/
comment: {
enable: true,
},
mediumZoom: { enable: true }, // 图片预览
/*
* 懒加载
*/
// vanillaLazyload: {
// enable: true,
// }
})