Skip to content
🍬 very very simple plugin, only replace theme file to a custom file.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README-ZH.md
README.md
index.js
package.json
readDataFile.js
uitl.js
yarn.lock

README.md

Hexo Theme Plus

README npm npm

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-plus

Any 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'
You can’t perform that action at this time.