Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

hexo-renderer-nunjucks

1.0.5 • Public • Published

hexo-renderer-nunjucks

Nunjucks renderer plugin for Hexo.

npm Version ISC License Dependencies Status devDependencies Status

Installation

$ npm install hexo-renderer-nunjucks --save

Development

The plugin can be built by running:

$ npm install && npm run build

Configuration

Nunjucks can be configured by editing the main _config.yml file using the nunjucks namespace. Configuration options can be found in Nunjucks API documentation.

  • Note: autoescape is false by default.
nunjucks:
  autoescape: true

File Extensions

This plugin supports the following file extensions.

  • .njk
  • .nunjucks
  • .j2 (Jinja 2)

install

npm i hexo-renderer-nunjucks

Downloadsweekly downloads

313

version

1.0.5

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability