Skip to content

Read and override theme configuration or languages from _data

License

Notifications You must be signed in to change notification settings

jiangtj-lab/hexo-config-plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexo Config Plus

npm

Read and override theme configuration or languages from _data, extract from NexT theme

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

About

Read and override theme configuration or languages from _data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •