Skip to content

Commit 0fd26ff

Browse files
committed
Update config.js
1 parent 57c8154 commit 0fd26ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/.vuepress/config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ module.exports = config({
3939
},
4040

4141
head: [
42+
// 百度站点验证
43+
["meta", { name: "baidu-site-verification", content: "code-IZvTs9l2OK" }],
4244
[
4345
"script",
4446
{ src: "https://cdn.jsdelivr.net/npm/react/umd/react.production.min.js" },
@@ -65,8 +67,6 @@ module.exports = config({
6567
s.parentNode.insertBefore(hm, s);
6668
})();`
6769
]
68-
// 百度站点验证
69-
["meta", { name: "baidu-site-verification", content: "code-IZvTs9l2OK" }],
7070
],
7171
locales: {
7272
"/": {
@@ -75,7 +75,7 @@ module.exports = config({
7575
},
7676
themeConfig: {
7777
logo: "/logo.png", hostname: "https://javaguide.cn/", author: "Guide哥", repo: "https://github.com/Snailclimb/JavaGuide",
78-
editLinks: true, docsDir: 'docs',
78+
editLinks: true, docsDir: 'docs', seo: true,
7979
nav: [
8080
{ text: "Java面试指南", icon: "java", link: "/home", },
8181
{ text: "Java面试指北", icon: "java", link: "https://sourl.cn/e7ee87", },

0 commit comments

Comments
 (0)