Skip to content

Releases: EvanNotFound/hexo-theme-redefine

v2.8.1

20 Nov 22:17
eaf1829
Compare
Choose a tag to compare

releasev281

更新日志

更改项

  • 修复:文章内链接显示错误 #460 #459

更新方法:

  • NPM: npm install hexo-theme-redefine@latest
  • Git: cd themes/redefine && git pull

详见:Redefine 文档 #更新

新版本刚发布后,部分CDN 同步需要时间,如需使用,请等待几小时后,生成站点查看日志以确定 CDN 是否可用。
推荐使用 npmmirror CDN,由阿里云官方提供,访问速度极快(国内与海外)。

本版本主要为 bug 修复,从上一版本升级,不需要迁移配置文件

Release Notes

Improvements

  • Fixed: Incorrect display of links within articles. #460 #459

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: After a new version is released, it may take a few hours for some CDNs to sync. If you're using a CDN, generate your site and check the logs to confirm availability.

Upgrading from the previous version focuses on bug fixes and does not require configuration file migration.

更多 🔥

想要使用 OpenAI ChatGPT-4o 以及 o1 系列模型,但不想每月支付 20 美元吗?可以来看看我的 GPT Plus Share,使用多达 100 个 ChatGPT Plus 账户,已稳定运行 1 年+

每月仅需 ¥24.99 元起步,使用优惠码 AUTUMN24 可立减三元。

Billboard@1x

v2.8.0

19 Nov 06:21
8d2a94a
Compare
Choose a tag to compare

更新日志

🥰 性能史诗级大更新!压缩,简化,重构主题样式文件,网站资源大小大幅减小以及访问速度大幅提升。页面切换动画,纵享丝滑。极度推荐更新!

新增

更改项

  • ✨ 优化:改进页面进入动画效果,提升用户体验,纵享丝滑
  • 优化:添加法语国际化支持(特别鸣谢 @Passionlinux
  • 优化:压缩,简化,重构主题样式文件,提升网站性能
  • 优化:调整链接下划线和图标样式
  • 修复:代码 Diff 高亮显示问题 #437(特别鸣谢 @RocketMaDev

更新方法:

  • NPM: npm install hexo-theme-redefine@latest
  • Git: cd themes/redefine && git pull

详见:Redefine 文档 #更新

注意:新版本发布后,部分 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: Use npmmirror 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.

Special Thanks

v2.7.3

27 Oct 21:35
c4930b5
Compare
Choose a tag to compare

release specialv270

更新日志

更改项

  • 修复:行内 Mathjax 公式渲染成行间公式 #447

更新方法:

  • NPM: npm install hexo-theme-redefine@latest
  • Git: cd themes/redefine && git pull

详见:Redefine 文档 #更新

新版本刚发布后,部分CDN 同步需要时间,如需使用,请等待几小时后,生成站点查看日志以确定 CDN 是否可用。
推荐使用 npmmirror CDN,由阿里云官方提供,访问速度极快(国内与海外)。

本版本主要为 bug 修复,从上一版本升级,不需要迁移配置文件

Release Notes

Improvements

  • Fixed: Inline Mathjax formulas display issue. #447

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 not required.

v2.7.2

25 Oct 06:10
d5ef713
Compare
Choose a tag to compare

更新日志

新增(需迁移配置文件)

  • 首页 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

详见:Redefine 文档 #更新

新版本刚发布后,部分CDN 同步需要时间,如需使用,请等待几小时后,生成站点查看日志以确定 CDN 是否可用。
推荐使用 npmmirror CDN,由阿里云官方提供,访问速度极快(国内与海外)。

本版本需要迁移配置文件,如需使用新功能,需要你一一核对,详情请见:更新文档

特别鸣谢

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.

v2.7.1

04 Sep 12:45
e189999
Compare
Choose a tag to compare

更新日志

更改项

  • 修复:行内代码样式问题 #428 #429

更新方法:

  • NPM: npm install hexo-theme-redefine@latest
  • Git: cd themes/redefine && git pull

详见:Redefine 文档 #更新

新版本刚发布后,部分CDN 同步需要时间,如需使用,请等待几小时后,生成站点查看日志以确定 CDN 是否可用。
推荐使用 npmmirror CDN,由阿里云官方提供,访问速度极快(国内与海外)。

本版本主要为 bug 修复,不需要迁移配置文件


关于 BootCDN 以及 Staticfile CDN 投毒

Staticfile 以及 Bootcdn 由于存在 CDN 投毒的安全风险,已经不再安全。因此,Redefine 主题的新版本 (2.7.0+) 已切换到 Cloudflare 的 CDNJS 作为 Twikoo 和 Gitalk 的脚本源,并且移除这两个 CDN 的支持。

如需进一步了解相关内容,请访问 【BootCDN/Staticfile投毒分析】供应链投毒后,我们的选择还剩下哪些?(来源:吾爱破解论坛)。

请及时更新主题版本到 2.7.0 即以上,并避免使用 bootCDN 和 staticfileCDN。
感谢您的理解与支持。


Release Notes

Changes

New Features (configuration file migration required)

  • None.

Update Instructions

  • NPM: npm install hexo-theme-redefine@latest
  • Git: cd themes/redefine && git pull

Configuration file migration is required to use new features. Users should check the update documentation for details.

The npmmirror CDN is recommended for fast access speeds both domestically and internationally.

Security Note

BootCDN and Staticfile CDN support has been removed due to security risks. Users are advised to update to version 2.7.0 or higher and avoid using these CDNs.

v2.7.0

31 Aug 22:03
0187cf4
Compare
Choose a tag to compare

更新日志

新增(需迁移配置文件)

  • 自定义代码高亮主题 (#380),预览可前往 highlightjs 官网演示,目前支持:
    • 亮色主题:github, atom-one-light, default
    • 暗色主题:github-dark, monokai-sublime, vs2015, night-owl, atom-one-dark, nord, tokyo-night-dark, a11y-dark, agate
  • 导航栏站点标题以及主页侧边栏站点标题自定义字体 #398
  • Hitokoto 显示作者功能 #409
  • 主题预加载页面自定义文字 #416
  • 自定义首页文章摘要长度 #414

更改项

  • 移除staticfile 以及 bootcdn 两个 CDN。两者具有 CDN 投毒风险,详情请往下看
  • 修复:文章加密与主题单页加载冲突导致无法加载图片 / 执行 js 代码问题 #405 #400
  • 修复: categories 以及 tags 标签页自定义标题会空白页面问题
  • 修复:标题单引号报错 #402 #403
  • 修复:说说时间显示问题 #395
  • 优化:国际化翻译 #389
  • 优化:文章归档分类排序 #395
  • 优化:404 页面显示问题 #389
  • 优化:主题预加载页面默认关闭
  • 优化:Twikoo 以及 Gitalk 使用 Cloudflare CDNJS 作为脚本提供源,移除原先的 Staticfile #415

更新方法:

  • NPM: npm install hexo-theme-redefine@latest
  • Git: cd themes/redefine && git pull

详见:Redefine 文档 #更新

新版本刚发布后,部分CDN 同步需要时间,如需使用,请等待几小时后,生成站点查看日志以确定 CDN 是否可用。
推荐使用 npmmirror CDN,由阿里云官方提供,访问速度极快(国内与海外)。

本版本需要迁移配置文件,如需使用新功能,需要你一一核对,详情请见:更新文档

特别鸣谢


关于 BootCDN 以及 Staticfile CDN 投毒

Staticfile 以及 Bootcdn 由于存在 CDN 投毒的安全风险,已经不再安全。因此,Redefine 主题的新版本 (2.7.0+) 已切换到 Cloudflare 的 CDNJS 作为 Twikoo 和 Gitalk 的脚本源,并且移除这两者的支持。

如需进一步了解相关内容,请访问 【BootCDN/Staticfile投毒分析】供应链投毒后,我们的选择还剩下哪些?(来源:吾爱破解论坛)。

请及时更新主题版本到 2.7.0 即以上,并避免使用 bootCDN 和 staticfileCDN。
感谢您的理解与支持。


Release Notes

New Features (configuration file migration required)

  • Custom code highlighting themes (#380). Preview available on the highlightjs website. Supported themes:
    • Light themes: github, atom-one-light, default
    • Dark themes: github-dark, monokai-sublime, vs2015, night-owl, atom-one-dark, nord, tokyo-night-dark, a11y-dark, agate
  • Custom fonts for navigation bar site title and homepage sidebar site title (#398)
  • Display author for Hitokoto quotes (#409)
  • Custom text for theme preload page (#416)
  • Custom length for article excerpts on homepage (#414)

Changes

  • Removed: staticfile and bootcdn CDNs due to security risks
  • Fixed: Conflict between article encryption and theme single page loading causing images/JS not to load (#405 #400)
  • Fixed: Blank page issue with custom titles for categories and tags pages
  • Fixed: Error with single quotes in titles (#402 #403)
  • Fixed: Time display issue for blog posts (#395)
  • Improved: Internationalization translations (#389)
  • Improved: Sorting of article archive categories (#395)
  • Improved: 404 page display (#389)
  • Improved: Theme preload page disabled by default
  • Improved: Twikoo and Gitalk now use Cloudflare CDNJS as script source, removed Staticfile (#415)

Update Instructions

  • NPM: npm install hexo-theme-redefine@latest
  • Git: cd themes/redefine && git pull

Configuration file migration is required to use new features. Users should check the update documentation for details.

The npmmirror CDN is recommended for fast access speeds both domestically and internationally.

Security Note

BootCDN and Staticfile CDN support has been removed due to security risks. Users are advised to update to version 2.7.0 or higher and avoid using these CDNs.

v2.6.4

21 Jun 14:39
b22c187
Compare
Choose a tag to compare

releasev260

更新日志

新增

  • ⭐️ npmmirror CDN,访问速度极快,推荐使用此 CDN

修复

  • zstatic CDN 调用错误问题

优化

  • Waline 版本更新

更新方法:

  • NPM: npm install hexo-theme-redefine@latest
  • Git: cd themes/redefine && git pull

详见:Redefine 文档 #更新

新版本刚发布后,部分CDN 同步需要时间,如需使用,请等待几小时后,生成站点查看日志以确定 CDN 是否可用。推荐使用 npmmirror CDN

本版本需要迁移配置文件,添加了新的 cdn 源,推荐使用 npmmirror CDN,由阿里云官方提供,访问速度极快(国内与海外)

Release Notes

New Features

  • ⭐️ Introducing the npmmirror CDN for faster access speeds. We highly recommend using this CDN.

Bug Fixes

  • Fixed issue with zstatic CDN calls.

Improvements

  • Updated Waline to improve functionality.

How to Update:

  • NPM: Run npm install hexo-theme-redefine@latest
  • Git: Navigate to themes/redefine and run git pull

For detailed instructions, visit: Redefine Documentation #Update

Please note, it may take a few hours for some CDN updates to sync after the release. We recommend generating your site later to confirm CDN availability. We recommend using the npmmirror CDN from Alibaba Cloud, known for its fast speeds both locally and internationally.

This version requires migrating configuration files and introduces a new CDN source.

v2.6.3

18 Jun 22:55
b6a3493
Compare
Choose a tag to compare

更新日志

新增

  • 使用 Vercel 的 GeistGeist Mono 作为英文默认字体
  • Waline 文章反应 #359 #376 @RyouSY

修复

  • Tabs 标签插件中 table 表格不显示 #379
  • 行内代码块样式优化 #379

优化

  • CDN 检测提示
  • 移除默认中文 Noto Sans SC 字体
  • Markdown 默认 Heading 大小调整
  • Markdown 默认 Heading Spacing 调整
  • Preloader 预加载增加模糊特效

更新方法:

  • NPM: npm install hexo-theme-redefine@latest
  • Git: cd themes/redefine && git pull

详见:Redefine 文档 #更新

新版本刚发布后,CDNJS 同步需要时间,如需使用,请等待几小时后,生成站点查看日志以确定 CDN 是否可用。推荐使用 zstatic CDN

本版本需要迁移配置文件,推荐更换默认 headings_top_spacing 数值。

Release Notes

New Features

  • Vercel's Geist and Geist Mono are now the default fonts for English.
  • Added Waline article reactions #359 #376 @RyouSY

Bug Fixes

  • Fixed the issue with tables not displaying in the Tabs plugin #379
  • Optimized the style for inline code blocks #379

Improvements

  • Added alerts for CDN detection
  • Removed the default Chinese Noto Sans SC font
  • Adjusted the default sizes for Markdown headings
  • Tweaked the spacing for Markdown headings
  • Added a blur effect to the preloader

How to Update

  • NPM: npm install hexo-theme-redefine@latest
  • Git: cd themes/redefine && git pull

For more details, see the Redefine Documentation #Update

Please note, it takes some time for CDNJS to sync after a new version is released. If you plan to use it, wait a few hours, then generate your site and check the logs to see if the CDN is available. We recommend using the zstatic CDN

This version requires migrating configuration files, and we recommend updating the default headings_top_spacing value.

v2.6.2

29 May 21:09
a928d9a
Compare
Choose a tag to compare

更新日志

新增

  • 新增 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

详见: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.

v2.6.1

06 Feb 03:00
cab5562
Compare
Choose a tag to compare

更新日志

新增

  • 手机端侧边栏菜单 #331
  • 首页社交链接可自定义样式(居中/正序/逆序#316
  • 默认站点为深色模式选项 #330
  • 菜单栏自定义宽度 #324
  • 自定义文章标题顶部间距 #272
  • 站点页脚总文章数,总字数统计 #242

以上新增项目都需同步配置文件项

修复

  • 关闭 preloader 后,页脚下出现空白 #322
  • head 位置的 injector,实际注入的位置在 body #321
  • 页面中的图片描述不居中问题 #323
  • 非首页文章列表不显示背景图片 #317

优化

更新方法:

  • NPM: npm install hexo-theme-redefine@latest
  • Git: git clone https://github.com/EvanNotFound/hexo-theme-redefine.git themes/redefine

详见:Redefine 文档 #更新

Staticfile 目前可能会导致 CORS 无法加载资源文件,请切换 CDNJS 或者我个人的 CDN aliyun

本版本需要迁移配置文件,请自行将自己的 _config.redefine.yml 和主题文件夹内的 _config.yml 进行比对,同步新增的配置项。

Release Notes

New Features

  • Mobile sidebar menu #331
  • Customizable style for homepage social links (center/default/reverse) #316
  • Default site mode to dark #330
  • Customizable menu bar width #324
  • Custom top margin for article titles #272
  • Site footer to display total number of articles and word count #242

All the above new features need to be synchronized with the configuration file.

Fixes

  • Blank space appears under the footer after disabling the preloader #322
  • The injector at the head position, actually injects at the body #321
  • Image descriptions in pages are not centered #323
  • Background images not displayed on article lists that are not on the homepage #317

Improvements

For update instructions, see: Redefine Documentation #Update