ivancevich / catberry-nunjucks

Catberry adapter for Nunjucks template engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Catberry Nunjucks Adapter

It is an adapter for Nunjucks template engine that makes possible to use it from Catberry application.

Usage

You can use the adapter like this in ./browser.js or ./server.js. Actually, Catberry CLI does it for you.

var nunjucks = require('catberry-nunjucks'),
	cat = catberry.create(config);
nunjucks.register(cat.locator);

Contribution

If you have found a bug, please create pull request with mocha unit-test which reproduces it or describe all details in an issue if you can not implement test. If you want to propose some improvements just create an issue or a pull request but please do not forget to use npm test to be sure that your code is awesome.

All changes should satisfy this Code Style Guide.

Also your changes should be covered by unit tests using mocha.

JC Ivancevich jc.ivancevich@gmail.com

About

Catberry adapter for Nunjucks template engine

License:MIT License


Languages

Language:JavaScript 100.0%