Skip to content

1.8.7

Compare
Choose a tag to compare
@zkqiang zkqiang released this 23 Dec 06:27
· 333 commits to master since this release

🔧 配置变更

  • post_default_img 变更名称与位置,功能不变(便于更容易理解):
index:
- post_default_img:

post:
+ default_index_img:
  • banner_parallax 变更为层级关系,并增加配置项 width_height_ratio 用于控制 banner 图片的最小宽高比,以免竖屏浏览时图片两边被过度裁剪:
- banner_parallax: true
+ banner:
+   parallax: true
+   width_height_ratio: 1.0

🎨 优化

  • 全新的文章便签配色
  • 限制 TOC 的最大高度(超出可以滚动)
  • 略微缩小移动端下标题的字号
  • 进度条关联图片加载
  • 移动端隐藏进度条(避免与浏览器本身的进度条重叠)

🐛 修复

  • 修复全局懒加载不支持 Hexo 旧版本的问题
  • 修复代码复制按钮在某些情况不显示
  • 修复一些情况下的报错

🔧 Configuration

  • post_default_img is modified the name and location, but the feature remains unchanged:
index:
- post_default_img:

post:
+ default_index_img:
  • banner_parallax is modified, new configuration item width_height_ratio is applied to limit banner image of ratio of width to height:
- banner_parallax: true
+ banner:
+   parallax: true
+   width_height_ratio: 1.0

🎨 Enhancement

  • New color of post notes
  • Limit the maximum height of the TOC (can be scrolled)
  • Progress bar associated image loading
  • Hide the progress bar on the mobile terminal

🐛 Fix

  • Fix the bug that the lazy loading doesn't support the old version of Hexo
  • Fix the code copy button is not displayed in some cases
  • Fix errors in some cases