General configuration

Download the extension.

Variables

templatePath
Required

true

Type

string

Path to the pug template on the filesystem.

variables
Required

false

Type

string or cObject

Variables to pass on to the pug template renderer.

dataProcessing
Required

false

Type

array of class references by full namespace

See

DataProcessing documentation

debug
Required

false

Type

boolean

Showes a debug output in the frontend with all variables for this template.
It can also be globally activated for every pug template by adding the parameter pugdump=1 to the uri.

Example
../_images/debug_1.png