---
title: "Extension configuration"
manual: "Handlebars"
version: "main"
permalink: "https://docs.typo3.org/permalink/cpsit/typo3-handlebars:extension-configuration@main"
source: "Configuration/ExtensionConfiguration.rst"
rendered: "2026-09-29T09:05:57+00:00"
---

# Extension configuration {#extension-configuration}

The extension provides configuration options via TYPO3's extension
configuration. These are mapped onto typed configuration classes and
are available for autowiring as
`\CPSIT\Typo3Handlebars\Configuration\HandlebarsConfiguration`.

**Properties**

-   [rendering.strictMode](https://docs.typo3.org/permalink/cpsit/typo3-handlebars:rendering-strictmode@main)

---

## rendering.strictMode {#extension-configuration-rendering-strict-mode}

-   ***Type***

    boolean

-   ***Default***

    `false`

-   ***Description***

    Enables strict mode for the Handlebars renderer. In strict mode, the
    compiled template throws an exception as soon as it encounters a
    variable, property, or path that does not exist, instead of silently
    rendering an empty string. This is useful during development to catch
    typos in variable names and template paths early.

> [!NOTE]
> **See also**
>
> [Debug mode](https://docs.typo3.org/permalink/cpsit/typo3-handlebars:migration-1-debug-mode@main) for context on why this setting replaces
> the previous, debug-mode-triggered strict compilation.
