Skip to content

Commit baeb222

Browse files
committed
Update vuepress config
Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
1 parent 8705ced commit baeb222

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.vuepress/config.js

+9-2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ module.exports = config({
3838
// onlyFirstAndLastCommit: true,
3939
// },
4040
},
41+
locales: {
42+
"/": {
43+
lang: "zh-CN"
44+
}
45+
},
4146
themeConfig: {
4247
blog: false,
4348
// comment: false,
@@ -59,6 +64,7 @@ module.exports = config({
5964
searchPlaceholder: 'Search',
6065
repo: 'yeasy/docker_practice',
6166
repoLabel: 'GitHub',
67+
repoDisplay: true,
6268
hostname: 'https://vuepress.mirror.docker-practice.com',
6369
// author: 'yeasy',
6470
mdEnhance: {
@@ -135,8 +141,9 @@ module.exports = config({
135141
// link: ''
136142
// },
137143
{
138-
text: '云服务器特惠',
139-
link: 'https://cloud.tencent.com/act/cps/redirect?redirect=1062&cps_key=3a5255852d5db99dcd5da4c72f05df61&from=console'
144+
text: '云服务器618特惠',
145+
//link: 'https://cloud.tencent.com/act/cps/redirect?redirect=1062&cps_key=3a5255852d5db99dcd5da4c72f05df61&from=console'
146+
link: 'https://cloud.tencent.com/act/cps/redirect?redirect=10488&cps_key=3a5255852d5db99dcd5da4c72f05df61&from=activity'
140147
},
141148
// {
142149
// text: '语言',

0 commit comments

Comments
 (0)