diff --git a/docs/book/v3/features/template/twig.md b/docs/book/v3/features/template/twig.md index 7befeae7..2a7066f8 100644 --- a/docs/book/v3/features/template/twig.md +++ b/docs/book/v3/features/template/twig.md @@ -114,6 +114,7 @@ return [ ], ], 'twig' => [ + 'autoescape' => 'html', // Auto-escaping strategy [html|js|css|url|false] 'cache_dir' => 'path to cached templates', 'assets_url' => 'base URL for assets', 'assets_version' => 'base version for assets', @@ -124,6 +125,11 @@ return [ // Global variables passed to twig templates 'ga_tracking' => 'UA-XXXXX-X' ], + 'optimizations' => -1, // -1: Enable all (default), 0: disable optimizations + 'runtime_loaders' => [ + // runtime loader names or instances + ], + 'timezone' => 'default timezone identifier, e.g. America/New_York', ], ]; ```