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

hexo-renderer-nunjucks

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.

Installation

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

Development

Testing

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 :

Description
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 (2 months ago)

6 Versions

  • 2.0.0                                ...           2 months ago
  • 1.0.5 [deprecated]           ...           4 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
Downloads
Today 2
This Week 4
This Month 7
Last Day 1
Last Week 10
Last Month 81
Dependencies (3)
Dev Dependencies (5)

Copyright 2014 - 2016 © taobao.org |