Options
All
  • Public
  • Public/Protected
  • All
Menu

Plugin providing support for the nunjucks template engine.

Hierarchy

  • NunjucksPlugin

Implements

Index

Constructors

constructor

Properties

config

config: Record<string, any>

pod

pod: Pod

Private shortcutFilters

shortcutFilters: Record<string, Function>

Private shortcutGlobals

shortcutGlobals: Record<string, any>

Methods

addFilter

  • addFilter(filterName: string, filterMethod: Function): void

addGlobal

  • addGlobal(globalName: string, value: any): void

createTemplateEngineHook

  • Hook for manipulating the template engine after it is initially created.

    Used for creating template filters, globals, macros, etc.

    Parameters

    Returns void

Generated using TypeDoc