Folder structure

From version 2.4.0 Zero One theme has a bit different folder structure than the standard Kirby installation.

The following site folders:

  • blueprints

  • collections

  • controllers

  • models

  • snippets

  • templates

Are in site/theme/ folder. With this we wanted to achieve cleaner structure, and narrow the room for error when theme updates occur.

And after this when you update Zero One you just copy the new theme folder and overwrite the existing.

Kirby supports this approach, and we use inbuilt Kirby functions to achieve this change. Everything is controled from root index.php file.

You like deafult Kirby structure better?

Don't worry, if this structure is not something you like, and you like default Kirby structure better, than just:

  • instead of Zero One index.php add index.php from Kirby standard install

  • all folders from site/theme/ folder, just leave as they are by default in site folder.