@liamnewmarch/static-plugin-nunjucks

0.1.3 • Public • Published

Nunjucks plugin for Static

This plugin adds the Nunjucks template engine to Static.

Usage

First, install Static and this plugin

npm install @liamnewmarch/static @liamnewmarch/static-plugin-nunjucks

Next add the plugin in your static.config.js

import nunjucks from '@liamnewmarch/static-plugin-nunjucks';

export default {
  // Other Static options here (optional)
  plugins: [
    nunjucks({
      // Plugin options here (optional)
    }),
  ],
}

Options

The Nunjucks plugin is a function which can take an optional options object.

Package Sidebar

Install

npm i @liamnewmarch/static-plugin-nunjucks

Weekly Downloads

5

Version

0.1.3

License

MIT

Unpacked Size

3.72 kB

Total Files

4

Last publish

Collaborators

  • liamnewmarch