Skip to content

v2.6.1

Compare
Choose a tag to compare
@EvanNotFound EvanNotFound released this 06 Feb 03:00
· 260 commits to main since this release
cab5562

更新日志

新增

  • 手机端侧边栏菜单 #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