mirror of https://github.com/jkjoy/sunpeiwen.git
9a9cb42f53 | ||
---|---|---|
.. | ||
lib | ||
LICENSE | ||
README.md | ||
index.js | ||
package.json |
README.md
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.
}