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.

Multi-environment setup

From Zero One version 1.1.0 in zero-one/site/config/ folder there are three files:
  • config.php
  • config.localhost.php
  • and config.www.thezero.club.php. This one you should rename to your domain name.
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.
If you are not using a multi-environment setup you can add all config options into site/config.php and delete the other configs.
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.
1
# Example setup
2
3
/site/config/config.localhost.php
4
/site/config/config.staging.yourdomain.com.php
5
/site/config/config.yourdomain.com.php
6
/site/config/config.www.yourdomain.com.php
Copied!

Debug

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

Custom panel CSS

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

To save time with images we integrated the great Kirby Autoresize plugin from Thomas Günther, and choose to resize every image larger than 1920px to that size. You can change it to another size if it suits you.

Srcset

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

Robots

There is also some settings code for Kirby 3 Robots.txt plugin from Bruno Meilick.

Language detect support

Commentions plugin options

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