commit
2ebcb5802c
|
@ -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
Loading…
Reference in New Issue