xecio-renderer-nunjucks

Nunjucks renderer for Xecio

Usage no npm install needed!

<script type="module">
  import xecioRendererNunjucks from 'https://cdn.skypack.dev/xecio-renderer-nunjucks';
</script>

README

xecio-renderer-nunjucks

Nunjucks renderer plugin for Xecio.

Installation

npm install xecio-renderer-nunjucks --save

Configuration

Nunjucks can be configured by editing the main _config.yml file using the nunjucks namespace. Configuration options can be found in Nunjucks API documentation.

nunjucks:
  autoescape: true

File Extensions

This plugin supports the extensions as bellow:

  1. .nunjucks file extension
  2. .j2 Jinja 2 file extension
  3. .htm custom template file extension
  4. .tpl default Xecio file extension