You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
commit from server cf6b7a2932 initial submit 2 years ago
..
lib initial submit 2 years ago
LICENSE initial submit 2 years ago
README.md initial submit 2 years ago
index.js initial submit 2 years ago
package.json initial submit 2 years ago

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