Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/book/v3/features/template/twig.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
],
];
```
Expand Down