UNPKG

@conga/framework-view-twig

Version:

Conga.js bundle which integrates the twig.js template engine

39 lines (31 loc) 1.05 kB
--- title: Configuration permalink: /configuration --- ## Application Configuration In your app's configuration `app/config/config.yml`, set the default view engine for all routes that haven't already been assigned a view engine. ```yaml view: # the default engine to use when one isn't specified in @Template default.engine: twig ``` ## Bundle Configuration ``` twig: options: strict_variables: false profiler: enabled: true capture: source: true context: true parameters: true ``` Name | Description --- | --- options | Options passed over to TwigJS profiler.enabled | Controlls whether the template engine should profile load and render times. profiler.capture.source | Controlls whether the profiler should capture the template source. profiler.capture.context | Controlls whether the profiler should capture the template context object. profiler.capture.parameters | Controlls whether the profiler should capture the parameters used to render the template.