本文最后更新于:2024年1月14日 晚上

升级 Fluid 到1.9+ 版本后目录跳转错误,本文记录解决方案。

问题复现

  • 在 fluid 1.8+ 版本升级到 1.9+ 版本后,目录跳转错误

  • 默默跳转到 # 而不是标题位置

问题原因

  • 老Hexo 用户在生成目录时用过 hexo-toc 插件,该插件在 Fluid 1.9+ 版本的主题中会和主题产生冲突

解决方案

  • 卸载 hexo-toc 插件
1
npm uninstall hexo-toc

参考资料



文章链接:
https://www.zywvvd.com/notes/hexo/theme/fluid/fluid-toc-error/fluid-toc-error/


“觉得不错的话,给点打赏吧 ୧(๑•̀⌄•́๑)૭”

微信二维码

微信支付

支付宝二维码

支付宝支付

Fluid -22- 解决升级 1.9+ 版本后目录跳转错误的问题
https://www.zywvvd.com/notes/hexo/theme/fluid/fluid-toc-error/fluid-toc-error/
作者
Yiwei Zhang
发布于
2022年7月5日
许可协议