Nunjucks renderer plugin for Hexo
Last updated 7 months ago by oncletom .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hexo-renderer-nunjucks 
SYNC missed versions from official npm registry.


Build Status NPM version Coverage Status

Add support for Nunjucks templates to Hexo websites.

All template files suffixed with .njk or .j2 (Jinja2) will be converted to HTML pages.


Note: this module is installed by default since hexo@5.x.
For other Hexo versions, run the following command in an Hexo project folder of yours.

$ npm install hexo-renderer-nunjucks



Tests and code coverage are generated when running the following command.

npm test

Pull Requests will be checked automatically with Coveralls. Their bot will comment about the coverage change as a comment to the code change.

Releasing a new version

A bug fix and non-breaking code release can be created with the following commands:

npm version patch
git push && git push --tags

Read npm version documentation to learn more about other companion commands, such as npm version major (breaking change) and npm version minor (features, new stuff), amongst others.

Publishing on npm

This package is automatically published on npm as hexo-renderer-nunjucks for every new Git tag.

Two secrets environment variables need to be setup in Travis CI Repo Settings :

NPM_USER_EMAIL Email of the npm user account with write access to hexo-renderer-nunjucks.
NPM_API_KEY API Token associated to the aforementioned user.

Current Tags

  • 2.0.0                                ...           latest (7 months ago)

6 Versions

  • 2.0.0                                ...           7 months ago
  • 1.0.5 [deprecated]           ...           5 years ago
  • 1.0.4 [deprecated]           ...           5 years ago
  • 1.0.3 [deprecated]           ...           5 years ago
  • 1.0.2 [deprecated]           ...           5 years ago
  • 1.0.0 [deprecated]           ...           5 years ago
Today 0
This Week 12
This Month 64
Last Day 12
Last Week 19
Last Month 29
Dependencies (3)
Dev Dependencies (5)

Copyright 2014 - 2016 © taobao.org |