Skip to content

1.6.0

Choose a tag to compare

@zkqiang zkqiang released this 04 Nov 03:53
· 835 commits to master since this release

💥 重大变更

  • 配置项 baidu_analytics 变更为 web_analytics.baidu
  • 配置项 post.date_format 变更为 post.meta.date.format

✨ 新功能

  • 支持 KaTeX 语法的数学公式!可选引擎:MathJax、KaTeX,相关配置项:post.math。该功能默认关闭,开启请仔细按照 使用指南 进行操作
  • 加入多种网站统计的支持,相关配置项:web_analytics
  • 页脚增加基于不蒜子的 PV 与 UV 统计,相关配置项:footer.statistics
  • 文章信息增加了字数统计/阅读时间/阅读数,相关配置项:post.meta
  • 文章的图片现在支持点击放大,相关配置项:post.image_zoom
  • 网站滚动加入了平滑滚动效果,相关配置项:smooth_scroll
  • 关于页增加微信二维码悬浮框,具体见配置项 about.icons."fab fa-weixin"
  • 代码行号可以被 Hexo 配置中的 highlight.line_number 关闭
  • 翻页增加页码显示

🐛 修复

  • 修复多款评论区插件的样式与加载问题
  • 使用覆盖配置的 _static_prefix.yml 现在会被正确合并

💥 Breaking Change

  • Config item baidu_analytics changed to web_analytics.baidu
  • Config item post.date_format changed to post.meta.date.format

✨ Feature

  • Support TeX math formula! Engine optional: MathJax | KaTeX, add new config post.math
  • Add google, etc more web analytics, add new config web_analytics
  • Add PV and UV statistics in footer, based on busuanzi, add new config footer.statistics
  • Article meta adds word count / reading time / reading number, add new config post.meta
  • Image in article can be zoom, add new config post.image_zoom
  • Website scrolling with smooth scrolling, add new config smooth_scroll
  • The code line number can be turned off by 'highlight.line'u number' in the hexo _config.yml
  • Turn page to add page number

🐛 Fix

  • Fix the style and loading problems of multiple comment plugins
  • _static_prefix.yml can overwrite right