ppoffice / hexo-theme-icarus

A simple, delicate, and modern theme for the static site generator Hexo.
https://ppoffice.github.io/hexo-theme-icarus/
MIT License
6.28k stars 1.54k forks source link

Unable to load giscus #1297

Open readStudy opened 3 weeks ago

readStudy commented 3 weeks ago

Describe the bug When I try to use giscus, it displayed: An error occurred: giscus is not installed on this repository

System and Environment The version and configuration of Hexo and Icarus. Hexo: 7.2.0 Hexo-cli: 4.3.2 Icarus: 6.1.0

After checking, it seems there might be a configuration issue in the giscus.jsx It's missing some configuration, which could be why it can't find the repository.

      config['data-repo'] = repo;
      config['data-repo-id'] = repoId;
      config['data-category-id'] = categoryId;

Screenshots 截圖 2024-06-04 下午5 52 32 截圖 2024-06-04 下午5 52 01

PJ-568 commented 3 weeks ago

You are right. Fix requested.

BlingDan commented 6 days ago

I have this problem too.

ppoffice commented 5 days ago

Please upgrade hexo-component-inferno to 3.1.1.

BlingDan commented 5 days ago

@ppoffice thanks for your early reply. Could please help me resolve another issue, it bothers me a few days 🙏

https://github.com/ppoffice/hexo-theme-icarus/discussions/1304