@apostrophecms/nunjucks

2.x maintenance fork of Nunjucks templating language

Usage no npm install needed!

<script type="module">
  import apostrophecmsNunjucks from 'https://cdn.skypack.dev/@apostrophecms/nunjucks';
</script>

README

Nunjucks 2.x: long term maintenance fork

This fork of Nunjucks 2.x is maintained by the ApostropheCMS team as part of long term support for ApostropheCMS 2.x. There will be no new features or intentional changes in behavior. We recommend the latest version of the mainstream Nunjucks release for new projects, and plan to use that in future versions of ApostropheCMS that require a templating language.

Our maintenance modifications, if any, are released under the same license as Nunjucks 2.x.

Nunjucks

Nunjucks is a full featured templating engine for javascript. It is heavily inspired by jinja2. View the docs here.

Installation

npm install @apostrophecms/nunjucks

(View the CHANGELOG) through 2.5.2. An additional changelog will be added here as neded for maintenance updates.

Documentation

See here. NOTE: this is a legacy version (2.x) and not all 3.x documentation may be relevant.

Browser Support

Supported in all modern browsers. For IE8 support, use es5-shim.

Tests

Run the tests with npm test.

Watch master branch's tests running at http://mozilla.github.io/nunjucks/files/tests/browser/.

Mailing List

Join our mailing list and get help with and issues you have: https://groups.google.com/forum/?fromgroups#!forum/nunjucks

Contributors

https://github.com/mozilla/nunjucks/graphs/contributors