v2.8.0
更新日志
🥰 性能史诗级大更新!压缩,简化,重构主题样式文件,网站资源大小大幅减小以及访问速度大幅提升。页面切换动画,纵享丝滑。极度推荐更新!
新增
更改项
- ✨ 优化:改进页面进入动画效果,提升用户体验,纵享丝滑
- 优化:添加法语国际化支持(特别鸣谢 @Passionlinux)
- 优化:压缩,简化,重构主题样式文件,提升网站性能
- 优化:调整链接下划线和图标样式
- 修复:代码 Diff 高亮显示问题 #437(特别鸣谢 @RocketMaDev)
更新方法:
- NPM:
npm install hexo-theme-redefine@latest
- Git:
cd themes/redefine && git pull
注意:新版本发布后,部分 CDN 同步可能需要时间。如需使用 CDN,请等待几小时后生成站点并检查日志以确认 CDN 是否可用。
推荐 CDN: 使用阿里云官方提供的npmmirror
,访问速度快(国内外均适用)。
本版本需要迁移配置文件,请注意,更新时请将配置项 fontawsome.sharp_solid
改为 true!
如需使用新功能,请逐项核对配置文件,详情请见:更新文档。
特别鸣谢
Release Notes
🥰 Epic performance update! Theme stylesheets have been compressed, simplified, and refactored, resulting in significantly reduced site resource size and greatly improved loading speeds. Highly recommended to update.
New Features
- Bookmarks Page Template: Introducing a new page template design. Example as shown above #440 #364, documentation.
- PanguJS: Automatically adds spaces between Chinese and English text (new config option:
articles.pangu_js
) #450.
Improvements
- Fixed: Code Diff highlighting issues #437 (Special thanks to @RocketMaDev)
- Improved: Added French localization support (Special thanks to @Passionlinux)
- Improved: Compressed, simplified, and refactored theme stylesheets to enhance performance
- Improved: Updated link underlines and icon styles
- ✨ Improved: Enhanced page entry animations for better user experience
Update Instructions:
- NPM:
npm install hexo-theme-redefine@latest
- Git:
cd themes/redefine && git pull
For more details, see the Redefine documentation on updates.
Note: CDN synchronization may take a few hours after a new release. If you are using a CDN, generate your site and check the logs to confirm CDN availability.
Recommended CDN: Usenpmmirror
by Alibaba Cloud for super-fast access speeds (both domestic and international).
This release requires configuration file migration. To use the new features, please review and update your configuration files as needed. See update documentation for details.