Closed 2-3-5-7 closed 1 year ago
目前临时用 giscus 生成的代码,注释掉原代码 comment.jsx 文件
return <div class="card">
<div class="card-content">
{ <h3 class="title is-5">{__('article.comments')}</h3>}
<script src="https://giscus.app/client.js"
data-repo=""
data-repo-id="="
data-category="General"
data-category-id=""
data-mapping="pathname"
data-strict="0"
data-reactions-enabled="0"
data-emit-metadata="0"
data-input-position="bottom"
data-theme="light"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
{/*(() => {
try {
let Comment = view.require('comment/' + comment.type);
Comment = Comment.Cacheable ? Comment.Cacheable : Comment;
return <Comment config={config} page={page} helper={helper} comment={comment} />;
} catch (e) {
logger.w(`Icarus cannot load comment "${comment.type}"`);
return null;
}
})()*/}
</div>
</div>;
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
你的功能建议与某个使用问题相关么?请详述。
希望增加使用 giscus 作为评论,感谢!