hexo-theme-3-hexo
hexo-theme-3-hexo copied to clipboard
add support for giscus, another comment component
This PR is for adding support for giscus which is based on utteranc.
In components which this repo supported, I prefer gitalk and utteranc. But they still not good enough:
- gitalk need load a
.js
file which have a big size. Hexo blog always deploy on github pages, this maybe take much time on loadgitalk.js
. - utteranc is too simple, only can add comments.
I think giscus is better than above 2 components.
- giscus only have a small size dependencies
- giscus is depend on github dicussions, it can achieve more features
- now giscus and github discussions both active, there're will be more new features
More, giscus also can count comments. But now I haven't add it to this PR. It's valuable if we can explore on it.
Finally, this is simple screenshot for giscus in 3-hexo: