v1.5.0
Tip
多语言使用相关详情请见 如何为Hexo添加多语言支持
修复
- 修复了
language
为en
时菜单跳转链接异常的 bug - 修复了首页/归档/分类/标签/最近文章等页面不能正确显示多语言文章的标题和摘要的 bug
- 修复了文章版权声明在多语言模式下文章链接显示错误的 bug
- 修复了 pjax 下多语言切换时页面语言不更新的 bug
特性
- 文章版权现在支持多语言了
重构
- 发布了
@reimujs/hexo-algoliasearch
插件,用于支持多语言文章的搜索,其使用方式和hexo-algoliasearch
完全一致 - 内置了
hexo-generator-search
插件用于支持多语言文章的搜索,所以无需再安装hexo-generator-search
,其配置方式和hexo-generator-search
基本一致:generator_search: enable: true # true | false field: post content: true
Tip
For more information about multiple languages(i18n), please refer to How to add multi-language support to Hexo
Fixes
- Fixed a bug where menu jump links were abnormal when
language
was set toen
. - Fixed a bug where the homepage/archive/category/tag/recent posts pages could not correctly display titles and summaries of multilingual articles.
- Fixed a bug where the article copyright statement displayed incorrect article links in multilingual mode.
- Fixed a bug where the page language would not update when switching languages under pjax.
Features
- Article copyright now supports multiple languages.
Refactor
- Released the
@reimujs/hexo-algoliasearch
plugin to support searching for multilingual articles. Its usage is identical tohexo-algoliasearch
. - Built-in
hexo-generator-search
plugin to support searching for multilingual articles, so there's no need to installhexo-generator-search
separately. Its configuration is mostly the same ashexo-generator-search
:generator_search: enable: true # true | false field: post content: true
Full Changelog: v1.4.0...v1.5.0