> For the complete documentation index, see [llms.txt](https://www.one.thezero.club/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.one.thezero.club/guide/installation/config-options.md).

# Config options

A reminder that Kirby config options docs can be found at <https://getkirby.com/docs/guide/configuration>, but here we will explain what is in Zero One theme config.&#x20;

### Multi-environment setup <a href="#multi-environment-setup" id="multi-environment-setup"></a>

**From Zero One version 1.1.0** in `zero-one/site/config/` folder there are three files:&#x20;

* `config.php`&#x20;
* `config.localhost.php` and  `config.zero-one.test.php` which are the same
  * You can delete them if you don't develop your website [locally](/guide/installation/local-environment.md)
* and `config.www.thezero.club.php`. This one you should rename to your domain name.&#x20;

The `config.localhost.php` and `config.yourdomain.com.php` should have only those options that are different on localhost and on live server. In Zero One default setup only difference is a debug option, which is at localhost set to true, and on live server set to false.&#x20;

{% hint style="warning" %}
**If you are not using a multi-environment setup** you can add all config options into **`site/config.php`** and delete the other configs.

But it is more functional to use multi-environment configs because if we update something in the main config you won't override your change when you update to new Zero One version.&#x20;
{% endhint %}

One of the options you will need to add on the live server if you want to edit content from the panel is panel install, see more at <https://www.one.thezero.club/guide/installation/server#panel-install>.

```
# Example setup

/site/config/config.localhost.php
/site/config/config.staging.yourdomain.com.php
/site/config/config.yourdomain.com.php
/site/config/config.www.yourdomain.com.php
```

Learn more <https://getkirby.com/docs/guide/configuration#multi-environment-setup>

### Debug

Debug is set to true in localhost and of course to false on the server.

{% hint style="danger" %}
**Important note:** When debugging is turned on, robots.txt will tell the crawlers not to index your website. So, make sure to turn off debugging mode when your website is live.
{% endhint %}

### Custom panel CSS&#x20;

There is an import for the custom panel CSS file. Zero One use it to customize Editor user role permissions. That file is **`assets/css/panel.css`** and you can customize it further.

### Smartypants

Smartypants are on by default in Zero One. Learn more about it at <https://getkirby.com/docs/reference/system/options/smartypants>

### ~~Autoresize~~

From Zero One version 5.0.2 Kirby Autoresize plugin is removed, and its config options. Now you can change image upload optimization settings in these files:

* `site\plugins\zero-one\blueprints\files\image.yml`
* `site\plugins\zero-one\blueprints\files\default.yml`

### Srcset

There is a srcset image size setup, and it is used only for images inserted into the Editor in articles.

### Robots

There is also some settings code for [Kirby 3 Robots.txt](https://github.com/bnomei/kirby3-robots-txt) plugin from Bruno Meilick. You can add your custom rules, so check the plugin documentation.

### Hooks

There is also a little `site.update:after` hook which is needed to write CSS code from the Site Styling Custom CSS input to `assets/css/site.css`.

### Plugins

We also disallowed version info for some plugins that shouldn't have that information.

And that's it, the rest is up to you. 🙂
