hexo-theme-butterfly
hexo-theme-butterfly copied to clipboard
[Bug]: toc_expand: false不起作用
使用的 Butterfly 版本? | What version of Butterfly are you use?
4.12.0
是否修改过主题文件? || Has the theme files been modified?
不是 (No)
使用的瀏覽器? || What browse are you using?
Chrome
使用的系統? || What operating system are you using?
Windows
依賴插件 | Package dependencies Information
$ npm ls --depth 0
[email protected] F:\blog\blog-butterfly
├── @renbaoshuo/[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
問題描述 | Describe the bug
配置设置的
# toc (目录)
toc:
post: true #文章页是否显示 TOC
page: true #普通页面是否显示 TOC
number: true #是否显示章节数
expand: false #是否展开 TOC
style_simple: true # 简洁模式(侧边栏只显示 TOC, 只对文章页有效 )
scroll_percent: true #是否显示滚动进度百分比
expand false 但是某个文章没有起效 除了这个文章其他的都正常 有加密插件,但已经排除了加密插件的影响,卸载插件不加密也会出现这个bug
~~另一个文章是配置收起后正常,但是解密后点不开一级一下的标题(本地刷新后可以),云端刷新后不行~~这个貌似正常了(刷新之后),bug竟然还会偶现,这个我猜着应该是加密插件的原因,有没有办法解决一下
但是第一个的话,卸载掉插件还是bug
出現問題網站 | Website
配置收起后无法收起https://w1ndys.top/posts/216d9006.html#/
这个貌似正常了(刷新之后),bug竟然还会偶现 ↓ 解密后无法展开https://w1ndys.top/posts/acc7bbca/
找了个空环境测试了一下 bug仍然存在
配置收起后无法收起https://w1ndys.top/posts/216d9006.html#/
不建議使用 hexo-blog-encrypt
因爲它需要你解密后,自己去調用一些 js
不建議使用 hexo-blog-encrypt
因爲它需要你解密后,自己去調用一些 js
去掉加密插件之后问题仍然存在
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.