Read and override theme configuration or languages from _data, extract from NexT theme
yarn add @jiangtj/hexo-config-plus
config_plus:
theme: next
languages: languages
And them
Create next.yml
or languages.yml
in ${hexo}/source/_data
next.yml
// config in your theme config
bar:
foo: true
languages.yml
// override languages
[zh-CN]:
menu:
home: 首页
archives: 归档
categories: 分类
tags: 标签
about: 关于
search: 搜索
sitemap: 站点地图
commonweal: 公益 404
en:
// ...