qwqdanchun.github.io/node_modules/hexo-renderer-pug
qwqdanchun 1b6a0fbb18 test 2022-11-11 19:16:46 +08:00
..
lib test 2022-11-11 19:16:46 +08:00
LICENSE test 2022-11-11 19:16:46 +08:00
README.md test 2022-11-11 19:16:46 +08:00
index.js test 2022-11-11 19:16:46 +08:00
package.json test 2022-11-11 19:16:46 +08:00

README.md

hexo-renderer-pug

Build Status NPM version Coverage Status

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.
}