We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f24e279 commit f6366f2Copy full SHA for f6366f2
1 file changed
config/statamic/system.php
@@ -247,4 +247,17 @@
247
248
'layout' => env('STATAMIC_LAYOUT', 'layout'),
249
250
+ /*
251
+ |--------------------------------------------------------------------------
252
+ | View Config Allowlist
253
254
+ |
255
+ | Config keys that are allowed to be accessed in Antlers templates. Use
256
+ | '@default' to include Statamic's default list. Add 'docs' so the docs
257
+ | version switcher can access config.docs.version and config.docs.versions.
258
259
+ */
260
+
261
+ 'view_config_allowlist' => ['@default', 'docs'],
262
263
];
0 commit comments