github.com/jenstornell/kirby-bricks
There is a solution in the forum about this as well. I want to keep them apart to let the plugin and the solution/discussion evolve by themselves, maybe in different directions.
“Old” Native structure
templates/about.php
templates/contact.php
templates/projects.php
blueprints/about.yml
blueprints/contact.yml
blueprints/projects.yml
controllers/about.php
controllers/contact.php
controllers/projects.php
New Bricks structure
about/template.php
about/blueprint.yml
about/controller.php
contact/template.php
contact/blueprint.yml
contact/controller.php
projects/template.php
projects/blueprint.yml
projects/controller.php
Benefits with Bricks
- It’s modular. Delete
about
and everything bound toabout
will be gone. - Everything is right there, not spread out through several folders.
- It can give a better overview of what parts you use and which you don’t.
Much more information is in the docs: