mirror of https://github.com/jkjoy/sunpeiwen.git
1017 B
1017 B
hexo-renderer-pug
Add support for Pug.
Install
$ npm install hexo-renderer-pug --save
Config
PugJS options are supported. These are the options passed into compile().
Create a pug.config.js
in your project root:
module.exports = {
compile: { // Passed to compile().
basedir: process.cwd(),
// ...Other options.
}
// No other methods are supported for now.
}