3.0.0 • Published 2 years ago

hexo-renderer-pug v3.0.0

Weekly downloads
1,107
License
MIT
Repository
github
Last release
2 years ago

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