1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-20 22:17:09 +08:00

Update config.js

This commit is contained in:
guide 2022-01-05 17:43:54 +08:00
parent 57c8154d29
commit 0fd26ffee8

View File

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