From baeb22245550eeca8421c77d3f981baba35a705c Mon Sep 17 00:00:00 2001 From: Kang Huaishuai Date: Sun, 6 Jun 2021 10:50:31 +0800 Subject: [PATCH] Update vuepress config Signed-off-by: Kang Huaishuai --- .vuepress/config.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.vuepress/config.js b/.vuepress/config.js index 3910d64..94ce5e6 100644 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -38,6 +38,11 @@ module.exports = config({ // onlyFirstAndLastCommit: true, // }, }, + locales: { + "/": { + lang: "zh-CN" + } + }, themeConfig: { blog: false, // comment: false, @@ -59,6 +64,7 @@ module.exports = config({ searchPlaceholder: 'Search', repo: 'yeasy/docker_practice', repoLabel: 'GitHub', + repoDisplay: true, hostname: 'https://vuepress.mirror.docker-practice.com', // author: 'yeasy', mdEnhance: { @@ -135,8 +141,9 @@ module.exports = config({ // link: '' // }, { - text: '云服务器特惠', - link: 'https://cloud.tencent.com/act/cps/redirect?redirect=1062&cps_key=3a5255852d5db99dcd5da4c72f05df61&from=console' + text: '云服务器618特惠', + //link: 'https://cloud.tencent.com/act/cps/redirect?redirect=1062&cps_key=3a5255852d5db99dcd5da4c72f05df61&from=console' + link: 'https://cloud.tencent.com/act/cps/redirect?redirect=10488&cps_key=3a5255852d5db99dcd5da4c72f05df61&from=activity' }, // { // text: '语言',