docs: update README and index.html

This commit is contained in:
yanglbme 2020-06-01 09:08:32 +08:00
parent 3ae0429a1a
commit 0bac5bcb1b
2 changed files with 27 additions and 3 deletions

View File

@ -180,4 +180,27 @@
<a href="https://opencollective.com/doocs/contributors.svg?width=890&button=true"><img src="https://opencollective.com/doocs/contributors.svg?width=890&button=false" /></a> <a href="https://opencollective.com/doocs/contributors.svg?width=890&button=true"><img src="https://opencollective.com/doocs/contributors.svg?width=890&button=false" /></a>
<!-- ALL-CONTRIBUTORS-LIST: END --> <!-- ALL-CONTRIBUTORS-LIST: END -->
---
## 公众号
GitHub 技术社区 [Doocs](https://github.com/doocs) 旗下唯一公众号「**Doocs开源社区**」​,欢迎扫码关注,**专注分享技术领域相关知识及行业最新资讯**。当然也可以加我个人微信备注GitHub拉你进技术交流群。
<table>
<tr>
<td align="center" style="width: 200px;">
<a href="https://github.com/doocs">
<img src="./images/qrcode-for-doocs.jpg" style="width: 400px;"><br>
<sub>公众平台</sub>
</a><br>
</td>
<td align="center" style="width: 200px;">
<a href="https://github.com/yanglbme">
<img src="./images/qrcode-for-yanglbme.jpg" style="width: 400px;"><br>
<sub>个人微信</sub>
</a><br>
</td>
</tr>
</table>

View File

@ -87,7 +87,9 @@
} }
const edit = en ? 'Edit on GitHub' : ' GitHub 编辑' const edit = en ? 'Edit on GitHub' : ' GitHub 编辑'
const editHtml = `[:memo: ${edit}](${url})\n` const editHtml = `[:memo: ${edit}](${url})\n`
if (vm.route.path == '/') {
return editHtml + content;
}
const subscription = ` const subscription = `
## 公众号 ## 公众号
@ -110,7 +112,6 @@ GitHub 技术社区 [Doocs](https://github.com/doocs) 旗下唯一公众号「**
</tr> </tr>
</table> </table>
` `
return editHtml + content + `\n` + subscription return editHtml + content + `\n` + subscription
}) })