hexo/node_modules/hexo-renderer-pug
jkjoy 9a9cb42f53 20231003 update 2023-10-03 11:14:36 +08:00
..
lib 20231003 update 2023-10-03 11:14:36 +08:00
LICENSE 20231003 update 2023-10-03 11:14:36 +08:00
README.md 20231003 update 2023-10-03 11:14:36 +08:00
index.js 20231003 update 2023-10-03 11:14:36 +08:00
package.json 20231003 update 2023-10-03 11:14:36 +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.
}