Closed Nicole-1996 closed 5 months ago
我按照网上的教程,先npm install hexo-next-giscus,然后运行结果是
然后在_config.yaml里面加入: giscus: enable: true repo: Nicole-1996/blog_gitalk # Github repository name repo_id: R_kgDOKWcf2A # Github repository id category: Announcements # Github discussion category category_id: DIC_kwDOKWcf2M4CaJ82 # Github discussion category id mapping: pathname reactions_enabled: 1 emit_metadata: 1 theme: light 字段都是从giscus里复制的,运行了hexo clean; hexo g; hexo s,但是始终没法看到评论的框,应该如何检查哪里出了问题呢
在_config.next.yml配置
最新版用 _config.yml 和 _config.next.yml 配置都是可以的,我测试了你的配置,也可以加载出评论框
_config.yml
_config.next.yml
我按照网上的教程,先npm install hexo-next-giscus,然后运行结果是
然后在_config.yaml里面加入: giscus: enable: true repo: Nicole-1996/blog_gitalk # Github repository name repo_id: R_kgDOKWcf2A # Github repository id category: Announcements # Github discussion category category_id: DIC_kwDOKWcf2M4CaJ82 # Github discussion category id mapping: pathname reactions_enabled: 1 emit_metadata: 1 theme: light 字段都是从giscus里复制的,运行了hexo clean; hexo g; hexo s,但是始终没法看到评论的框,应该如何检查哪里出了问题呢