Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.41 KB

README.md

File metadata and controls

29 lines (24 loc) · 1.41 KB

panto-transformer-nunjucks

NPM version Downloads Build Status Dependency status Dev Dependency status Coverage Status

Nunjucks transformer for panto.

panto.loadTransformer('nunjucks');

panto.$('**/*.tpl').read().nunjucks({
    nunjucksContext: {
        title: 'Hello World'
    }
});

options

  • nunjucksContext: Object