-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.yaml
65 lines (63 loc) · 1.45 KB
/
settings.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# enabled: true or false to disable the plugin
enabled: true
# Twig
#
# - auto_reload: When developing with Twig, it's useful to recompile the template
# whenever the source code changes. If you don't provide a value
# for the auto_reload option, it will be determined automatically
# based on the debug value.
#
# - debug: When set to true, the generated templates have a __toString()
# method that you can use to display the generated nodes
#
# - charset: The charset used by the templates.
#
# - cache: Set false to disable caching.
#
# - extensions Flextype Twig Extension to load.
auto_reload: true
cache: true
debug: false
charset: "UTF-8"
entries:
expressions:
twig:
enabled: true
class: "Flextype\\Plugin\\Twig\\Expressions\\TwigExpression"
directives:
twig:
enabled: true
enabled_globally: false
path: "project/plugins/twig/src/twig/core/Entries/Directives/TwigDirective.php"
parsers:
shortcodes:
shortcodes:
twig:
enabled: true
path: "project/plugins/twig/src/twig/core/Parsers/Shortcodes/TwigShortcode.php"
extensions:
- Math
- I18n
- Filesystem
- Csrf
- Constants
- Strings
- Collection
- Filters
- Functions
- Tests
- Emitter
- Actions
- Registry
- Entries
- Serializers
- Parsers
- Flash
- Slugify
- Cache
- Image
- Url
- Vars
- Fetch
# Twig plugin priority
priority: 0