v2.6.2
更新日志
新增
- 新增
zstatic
以及sustech
CDN (#347)默认zstatic
- 引入新的 CSS 工具类用于边距和宽度,以增强布局灵活性
- 更新所有 README 文件,包括新的 git pull 命令指令,确保用户能轻松更新主题
修复
- 清理代码库,移除不必要的分号和尾随空格
- 提升各种脚本和样式配置,改进性能和可维护性
优化
- CI 改进
- 工作流优化
更新方法:
- NPM:
npm install hexo-theme-redefine@latest
- Git:
git clone https://github.com/EvanNotFound/hexo-theme-redefine.git themes/redefine
Staticfile 目前可能会导致 CORS 无法加载资源文件,推荐切换到 zstatic
CDN
本版本无需迁移配置文件。
Release Notes
New Features
- Added 'zstatic' as a new CDN provider to expand our distribution capabilities. Resolve [功能建议]:更新 CDN endpoint #347.
- Introduced new CSS utility classes for margin and width to enhance layout flexibility.
- Updated project version to 2.6.2 to mark the new enhancements.
- Documentation: Updated all README files to include new git pull command instructions, ensuring users can easily update the theme.
Fixes
- Cleaned up the codebase by removing unnecessary semicolons and trailing spaces.
- Enhanced various script and style configurations to improve performance and maintainability.
Improvements
- CI Improvements: Removed unnecessary CI condition and halted the automatic installation of Vercel CLI to streamline our workflows.
- Workflow Optimization: Updated preview workflow to trigger for all PRs and upgraded GitHub actions for more robust CI/CD processes.