Options are registered with the
options extension. The extension accepts an array of options with their default values. The default values will be used if the options are not overwritten in the site config.
Your custom options can be set like core Kirby options in the
Before Kirby 3.4.0, only the following syntax was supported:
This syntax is now deprecated because it turned out to be confusing. For now, the old syntax is still supported to ensure backwards-compatibility.
Config options can be used anywhere in Kirby with the
Or with the