next-theme / hexo-next-giscus

Giscus comment system for NexT
MIT License
24 stars 3 forks source link

请问是否有办法检查哪一步出错了 #9

Closed Nicole-1996 closed 5 months ago

Nicole-1996 commented 10 months ago

我按照网上的教程,先npm install hexo-next-giscus,然后运行结果是

截屏2023-10-17 14 50 24

然后在_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,但是始终没法看到评论的框,应该如何检查哪里出了问题呢

rocona commented 10 months ago

在_config.next.yml配置

stevenjoezhang commented 10 months ago

最新版用 _config.yml_config.next.yml 配置都是可以的,我测试了你的配置,也可以加载出评论框