Feature: add template of comment system #1192
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
这个 PR 给 HowToCook 增加了基于 Giscus 的评论系统.
设置方法来源于mkdocs: adding a comment system, 参考了 cs 自学指南项目的类似实践.
当页面滑动至最底部时会显示评论框, 效果可见这个 fork 的页面.
由于需要仓库所有者对仓库进行特定的设置, PR 中以下三个值尚未设置:
Giscus 提供了设置方法:
设置这三个值后, 评论系统应该就可以使用了🙏