Closed pengwon closed 1 year ago
Thanks for opening this issue, maintainers will get back to you as soon as possible!
You can try to modify this line of code: https://github.com/next-theme/hexo-next-giscus/blob/5f56e5be92ce99bb6136a6f05b510fecc0da2dbb/index.js#L21
(In node_modules/hexo-next-giscus/index.js
)
Change it to
<script data-pjax src="https://giscus.app/client.js"
@stevenjoezhang thank you very much, it works. but appear another problem as show below: i have search in node_modules folder, there is not 'giscus is not installed' in any files, come from giscus.app? when f5 freshed, it corrects.
I have updated the plugin, you can uninstall and reinstall the plugin to see if it works now: https://github.com/next-theme/hexo-next-giscus/commit/84531743bf8d86e12bb6f7950e81a5a135bc48c8
@stevenjoezhang it works very well. thank you very very much, thank you.
This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs.
Issue Checklist
Expected behavior
打开post即加载giscus评论功能
Actual behavior
Steps to reproduce the behavior
从博客首页点击文章进入后,giscus评论功能不加载,F5刷新后就加载出来了。实例可访问 https://blog.boringhex.top 。
Node.js and NPM Information
Package dependencies Information
Hexo Configuration
NexT Configuration
Other Information
Microsoft Edge 版本 109.0.1518.52 (正式版本) (64 位)
Windows 10 家庭中文版 版本号 21H2 安装日期 2020/10/11 操作系统内部版本 19044.2486 体验 Windows Feature Experience Pack 120.2212.4190.0