@jiangtj/hexo-config-plus

1.0.1 • Public • Published

Hexo Config Plus

npm

Read and override theme configuration or languages from _data

Install

yarn add @jiangtj/hexo-config-plus

Use

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:
// ...

Readme

Keywords

Package Sidebar

Install

npm i @jiangtj/hexo-config-plus

Weekly Downloads

0

Version

1.0.1

License

LGPL-3.0

Unpacked Size

10.2 kB

Total Files

5

Last publish

Collaborators

  • jiangtj