Merge pull request #795 from RickCole21/master

新版主页
This commit is contained in:
liaoxuezhi 2020-07-29 21:00:26 +08:00 committed by GitHub
commit 2ebcb5802c
234 changed files with 24422 additions and 960 deletions

View File

@ -179,9 +179,8 @@ module.exports = function (content, file) {
return placeholder[id] || '';
});
content =
fis.compile.partial(content, file, 'html') +
`\n\n<div class="m-t-lg b-l b-info b-3x wrapper bg-light dk">文档内容有误?欢迎大家一起来编写,文档地址:<i class="fa fa-github"></i><a href="https://github.com/baidu/amis/tree/master${file.subpath}">${file.subpath}</a>。</div>`;
content = fis.compile.partial(content, file, 'html');
// + `\n\n<div class="m-t-lg b-l b-info b-3x wrapper bg-light dk">文档内容有误?欢迎大家一起来编写,文档地址:<i class="fa fa-github"></i><a href="https://github.com/baidu/amis/tree/master${file.subpath}">${file.subpath}</a>。</div>`;
info.html = content;
info.toc = toc;

Some files were not shown because too many files have changed in this diff Show More