0.2.3 • Published 6 years ago
@jiangtj/hexo-theme-plus v0.2.3
Hexo Theme Plus
This is a very very simple plugin. You can see index.js. Only replace any theme file in layout folder to a custom file.
How to use?
yarn add @jiangtj/hexo-theme-plusAny file in custom path (default custom/theme) will replace theme file in same path in layout folder. You can set another path:
theme_plus:
custom_path: custom/theme # disabled: set 'false'In hexo _config.yml, you can special pick up a file:
theme_plus:
views:
path: 'layout.ejs'
file: 'custom/layout.ejs'
# or
theme_plus:
views:
- path: 'index.ejs'
file: 'custom/index.ejs'
- path: 'layout.ejs'
file: 'custom/layout.ejs'