Skip to content

Commit

Permalink
fix: update index.html and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yanglbme committed Jun 17, 2020
1 parent d109c3e commit cb033cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@

## Doocs 社区优质项目

GitHub 技术社区 [Doocs](https://github.com/doocs),致力于打造一个内容完整、持续成长的互联网开发者学习生态圈!以下是 Doocs 的一些优秀项目,欢迎各位开发者朋友持续保持关注。
Doocs 技术社区,致力于打造一个内容完整、持续成长的互联网开发者学习生态圈!以下是 Doocs 旗下的一些优秀项目,欢迎各位开发者朋友持续保持关注。

| # | 项目名称 | 项目描述 |
|---|---|---|
Expand Down
10 changes: 7 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
'/docs/high-concurrency/',
'/docs/distributed-system/',
'/docs/high-availability/',
'/docs/micor-services/',
'/docs/micro-services/',
'/docs/big-data/',
],
depth: 3
Expand All @@ -85,8 +85,12 @@
} else {
url = 'https://github.com/doocs/advanced-java/blob/master/' + vm.route.file
}
const edit = en ? 'Edit on GitHub' : '在 GitHub 编辑'
const editHtml = `[:memo: ${edit}](${url})\n`

const github = `[GitHub](${url})`
const gitee = `[Gitee](${url.replace("github", "gitee")})`

const editHtml = en ? `:memo: ${github} / ${gitee} 编辑\n` : `:memo: Edit on ${github} / ${gitee}\n`;

if (vm.route.path == '/') {
return editHtml + content;
}
Expand Down

0 comments on commit cb033cf

Please sign in to comment.