Skip to content

Commit e68927b

Browse files
committed
perf: SEO优化 fix: 编辑此页的链接错误
1 parent 8c1e46c commit e68927b

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

docusaurus.config.js

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const config = {
5252
showLastUpdateAuthor: true,
5353
showLastUpdateTime: true,
5454
editUrl:
55-
'https://github.com/redstarmc/Wiki/'
55+
'https://github.com/redstarmc/Wiki/tree/main/'
5656
},
5757
blog: false,
5858
theme: {
@@ -68,8 +68,8 @@ const config = {
6868
// Replace with your project's social card
6969
image: 'img/docusaurus-social-card.jpg',
7070
metadata: [
71-
{name: 'keywords', content: 'redstarmc,红星我的世界社区,Wiki,维基,文档,服务器,红星'},
72-
{name: 'description', content: '红星我的世界社区维基'},
71+
{name: 'keywords', content: 'redstarmc,红星我的世界社区,MC,我的世界,Minecraft,Wiki,维基,文档,服务器,红星,RS,RedStar,推荐,Java,优质,怎么'},
72+
{name: 'description', content: '红星我的世界社区(www.redstarmc.top),是一个致力于为玩家带来快乐的游戏社区。这里是它的维基,我们可以为你的游玩过程提供许多帮助!也能从这里即时获取服务器的最新消息。'},
7373
],
7474
navbar: {
7575
title: '红星我的世界社区维基',
@@ -103,23 +103,21 @@ const config = {
103103
type: 'docSidebar',
104104
sidebarId: 'tutorialSidebar',
105105
position: 'right',
106-
label: '管理人员必看',
106+
label: '管理人员页面',
107107
docsPluginId: 'admin'
108108
},
109-
// {
110-
// type: 'docSidebar',
111-
// sidebarId: 'tutorialSidebar',
112-
// position: 'left',
113-
// label: '日志',
114-
// docsPluginId: 'logs'
115-
// },
116109
// 搜索框
117110
{
118111
type: 'search',
119112
position: 'right',
120113
},
121114
{
122-
href: 'https://github.com/redstarmc/Wiki',
115+
href: 'https://www.redstarmc.top',
116+
position: 'right',
117+
label: '官网',
118+
},
119+
{
120+
href: 'https://github.com/RedStarMC',
123121
position: 'right',
124122
label: 'GitHub',
125123
},
@@ -203,7 +201,7 @@ const config = {
203201
],
204202
// 底部版权信息
205203
// copyright: `Copyright © 2021 - ${new Date().getFullYear()} RedStarMC Community, All Rights Reserved.`
206-
copyright: `<a href="https://www.redstarmc.top/Wiki">红星我的世界社区 维基</a> © 2021 - ${new Date().getFullYear()} 由 <a href="https://www.redstarmc.top">红星我的世界社区</a> 授权 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0 许可协议</a><img src="https://mirrors.creativecommons.org/presskit/icons/cc.svg" style="max-width: 1em;max-height:1em;margin-left: .2em;" alt="CC"><img src="https://mirrors.creativecommons.org/presskit/icons/by.svg" style="max-width: 1em;max-height:1em;margin-left: .2em;" alt="BY"><img src="https://mirrors.creativecommons.org/presskit/icons/nc.svg" style="max-width: 1em;max-height:1em;margin-left: .2em;" alt="Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"><img src="https://mirrors.creativecommons.org/presskit/icons/sa.svg" style="max-width: 1em;max-height:1em;margin-left: .2em;" alt="SA">`
204+
copyright: `<a href="https://www.redstarmc.top/Wiki">红星我的世界社区维基</a> © 2021 - ${new Date().getFullYear()} 由 <a href="https://www.redstarmc.top">红星我的世界社区</a> 授权 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0 许可协议</a><img src="https://mirrors.creativecommons.org/presskit/icons/cc.svg" style="max-width: 1em;max-height:1em;margin-left: .2em;" alt="CC"><img src="https://mirrors.creativecommons.org/presskit/icons/by.svg" style="max-width: 1em;max-height:1em;margin-left: .2em;" alt="BY"><img src="https://mirrors.creativecommons.org/presskit/icons/nc.svg" style="max-width: 1em;max-height:1em;margin-left: .2em;" alt="Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"><img src="https://mirrors.creativecommons.org/presskit/icons/sa.svg" style="max-width: 1em;max-height:1em;margin-left: .2em;" alt="SA">`
207205
},
208206
// 深浅主题
209207
prism: {

0 commit comments

Comments
 (0)