Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 985 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 985 Bytes

hexo-renderer-pug

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