nunjucks-do

do block for nunjucks

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
nunjucks-do
711.0.08 years ago8 years agoMinified + gzip package size for nunjucks-do in KB

Readme

nunjucks-do
Build Status NPM version
Nunjucks extension that brings a "do" tag

How to install it?

$ npm install nunjucks-do --save

How to use it?

var DoExtension = require("nunjucks-do")(nunjucks);

env.addExtension('DoExtension', new DoExtension());

{% do %}
test = { hello: 'world' }
{% enddo %}