hexo/node_modules/hexo-renderer-pug/README.md

987 B

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