1
0
mirror of https://gitee.com/tawords/tawords-docs synced 2025-09-11 04:41:39 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

文档 关于 部分完善

This commit is contained in:
2021-08-08 17:42:25 +08:00
parent afb521a9f1
commit c652b69024
15 changed files with 80 additions and 35 deletions

View File

@@ -132,10 +132,15 @@
},
plugins: [
// 添加文档修改时间
// 添加文档修改时间 和 发现文档中的错误去Gitee上编辑当前页面
function(hook, vm) { // auto_add_update_time_plugin
hook.beforeEach(function(content) {
var updateHTML = '<p align="right" style="opacity: 0.6;">更新时间:{docsify-updated}</p>'
var updateHTML = '<p align="right" style="opacity: 0.6;">更新时间:{docsify-updated}</p>' +
'<p align="center" style="margin: 80px auto;">' +
'<span style="background-color: #c9f0ff; padding: 40px 80px;">发现文档中的错误?有更好的修改建议?' +
'<a href=""></a>去Gitee上编辑当前页面' +
'<span>' +
'</p>'
content = content + updateHTML
return content;
});