v2.7.2
更新日志
新增(需迁移配置文件)
- 首页 SEO 副标题配置,需要迁移配置文件(#431)
更改项
- 优化:导航栏页面切换增加动画,更流畅
- 优化:页面预加载页面动画优化,缩短时间
- 修复:Essay 说说时区问题,改为动态显示(#367)
- 修复:较长的 Mathjax 行间公式出现遮挡(#422)
- 修复:Logo 大小过大问题(#438)
- 修复:404 页面翻译问题
- 修复:阅读进度中工具栏百分比出现 Infinity、 -Infinity 或 NaN(#432)
- 修复:代码块暗色某些主题无法显示的问题(#435,#437)
更新方法:
- NPM:
npm install hexo-theme-redefine@latest
- Git:
cd themes/redefine && git pull
新版本刚发布后,部分CDN 同步需要时间,如需使用,请等待几小时后,生成站点查看日志以确定 CDN 是否可用。
推荐使用 npmmirror
CDN,由阿里云官方提供,访问速度极快(国内与海外)。
本版本需要迁移配置文件,如需使用新功能,需要你一一核对,详情请见:更新文档。
特别鸣谢
- @FrederickBun
- @xzadudu179
Release Notes
New Features (Configuration File Migration Required)
- SEO Subtitle Configuration for the homepage. Migration of the configuration file is required (#431).
Improvements
- Optimization: Added transition animations for smoother page navigation.
- Optimization: Improved preloading animations to shorten duration.
- Fixed: Time zone issues with the "Essay" feature, now displayed dynamically (#367).
- Fixed: Long Mathjax inline formulas being obstructed (#422).
- Fixed: Logo size being too large (#438).
- Fixed: Translation issues on the 404 page.
- Fixed: Reading progress toolbar showing Infinity, -Infinity, or NaN for percentage (#432).
- Fixed: Dark-themed code blocks not displaying correctly on some themes (#435, #437).
Update Instructions
- NPM: Run
npm install hexo-theme-redefine@latest
- Git: Run
cd themes/redefine && git pull
For more details, see the Redefine documentation on updates.
Please note: It may take a few hours for some CDNs to sync after a new version is released. If you're using a CDN, generate your site and check the logs to verify availability.
Recommended CDN: npmmirror
, which is provided by Alibaba Cloud and offers very fast access speeds both domestically and internationally.
Configuration file migration is required to use new features. Users should check the update documentation for details.