更新日志
新增 / 重大更新
- Callout 模块(替代 Note):新增
{% callout %}标签,旧版{% note %}/{% notel %}等标签保持兼容但已弃用(使用时将输出一次性提示)。 - 写作模块升级(Tabs / Button / Grid / Folding):参数解析与渲染逻辑更稳健,解决了复杂嵌套场景下的渲染问题(样式与排版更新详见 #587)。
- 瀑布流(Masonry)升级:引入懒加载与分批加载机制,支持为图片指定
width/height以降低 CLS 影响,图片查看器交互增强并新增可选 EXIF 面板(#578)。 - 评论系统新增:
- Utterances(#582)
- Artalk(#585)@fenychn0206
- 单页模式(Swup)运行时重构:新增生命周期事件与页面作用域清理机制,减少页面切换后的重复绑定和残留监听(#577)。
- Home Banner 社交链接支持稳定排序:
home_banner.social_links.links/qrs现推荐使用数组格式以保证顺序稳定;旧的对象映射格式仍可自动转换,但已弃用(#583)。
修复 / 优化
- Tabs 渲染修复:修复了
notel在 Tabs 中的渲染问题,并解决了折叠框嵌套的相关缺陷(#579, #572)@DenvoZonis - 主题闪白与切换体验优化:优化了深浅色主题的切换逻辑,显著降低刷新时的闪白概率(#562)。
- Stylus 警告修复:调整了 mixin 顺序,避免了压缩时的 Stylus 警告(#555, #552)。
- 多语言/文案修正:修复了菜单栏“书签”等翻译与文案细节(#585)@fenychn0206
- CI / 工程化改进:优化了 PR 预览与发布流程(#584, #586)。
更新方法
- NPM:
npm install hexo-theme-redefine@latest - Git:
cd themes/redefine && git pull
详见:Redefine 文档 #更新
本版本建议迁移配置文件,重点注意 home_banner.social_links 格式的变更。旧格式虽然兼容,但会提示弃用;写作模块的旧标签同样会提示弃用。
相关文档(建议阅读):
- Callout:https://redefine-docs.ohevan.com/zh/docs/modules/callout
- Tabs:https://redefine-docs.ohevan.com/zh/docs/modules/tabs
- Button:https://redefine-docs.ohevan.com/zh/docs/modules/buttons
- Grid:https://redefine-docs.ohevan.com/zh/docs/modules/grid
- Folding:https://redefine-docs.ohevan.com/zh/docs/modules/folding
- 评论:https://redefine-docs.ohevan.com/zh/docs/posts/comment
- Home Banner 社交链接:https://redefine-docs.ohevan.com/zh/docs/home/home_banner
- Masonry:https://redefine-docs.ohevan.com/zh/docs/page_templates/masonry
- JS 开发指南(单页/Swup):https://redefine-docs.ohevan.com/zh/docs/developer/js-guide
Release Notes
New Features / Major Updates
- Callout module (replacement for Notes): Added
{% callout %}; legacy{% note %}/{% notel %}tags remain compatible but are deprecated. - Writing modules refreshed (Tabs / Button / Grid / Folding): Safer arg parsing and rendering in nested scenarios (style/layout refresh: #587).
- Masonry upgrades: Lazy + batched loading, optional
width/heightto reduce CLS, improved image viewer with optional EXIF panel (#578). - New comment systems: Utterances (#582) and Artalk (#585).
- SPA runtime refactor (Swup): Lifecycle + page-scoped cleanup to prevent duplicate listeners after navigation (#577).
- Home banner social links ordering: Prefer array format for stable ordering; legacy object-map auto-converts but is deprecated (#583).
Fixes / Improvements
- Tabs rendering fixes: Fix
notelrendering issues inside Tabs and related nested folding edge cases (#579, Issue #572). - Theme switching: Reduce flash and improve dark/light toggle logic (#562).
- Stylus warning fix: Reorder mixins to avoid Stylus warnings during minification (#555, Issue #552).
- i18n/text: Minor translation fixes (e.g., bookmarks in navbar) (#585).
- CI/tooling: PR preview and release workflow improvements (#584, #586).
Update Instructions
- NPM: Run
npm install hexo-theme-redefine@latest - Git: Run
cd themes/redefine && git pull
For detailed instructions, visit the Redefine Documentation – Updates
This version recommends configuration migration (notably home_banner.social_links ordering and deprecation warnings for legacy writing tags).
更多 🔥
🎉 ChatGPT Plus 会员,每月仅需 23.9 元!省下官网 20 美元/月
👉 立即体验 GPT Plus 共享站
- ✅ 官方正版账号池,支持 GPT-5.2 / GPT-5.2 Pro 等最新模型,Sora 2 视频/图片生成
- ✅ 国内直接访问,无需梯子,即开即用
- ✅ 免费试用一天,满意再付款,零风险体验
- ✅ 运营两年老站,售后有保障,Evan 亲自维护
👨💻 AI 编程助手,让效率翻倍!Arc Codex 一站式编程平台
💰 注册即送 $5 美元额度,首月套餐仅 ¥15.9 起!
👉 立即体验 Arc Codex
- ✅ 支持 GPT-5.3-Codex 等最新编程模型,代码生成更精准
- ✅ 每日 $40 美元额度自动重置,月总额高达 $1200,随便用不封顶
- ✅ 标准版首月仅 15.9 元,远低于官网价,同时使用优惠码
REDEFINE,续费享 8折 优惠! - ✅ Evan 运营保障,不满意包退,无后顾之忧

