Closed Longhao-Chen closed 11 months ago
not work too...
我也遇到相同的问题,暂时不更新插件,使用,1.0.3版本完美。
一样的问题,原因在于 giscus.njk
的第一行
{{ next_data('giscus', theme.giscus) }}
theme.giscus
只读 _config.next.yml
的giscus
配置,如果写在_config.yml
导致theme.giscus
为空就报错。
暂时可以把配置部分移到_config.next.yml
解决问题。
改成config.giscus
应该两个位置都可以
Fixed in https://github.com/next-theme/hexo-next-giscus/commit/f760608c78b4296dda100b55af796e7f470edee2 不好意思,之前没 watch 这个仓库,最近才看到通知
1.2.0 版本已发布
牛的!让我来升级测试一波 >_<
更新到1.1.0版本后,使用
hexo g
编译,出现如下报错:环境信息:
Next
版本:v8.14.1
经过实验,如果把
giscus.njk
中的内容清空,就不会报错,只要里面有任何内容,就会出现上诉错误。