Simple edits stay simple
Edit one route without reading half the app
Keep straightforward content inside the route entrypoint. If the page grows, split it into
route-local _partials/ or a small logic.php beside the page.
test13.sites.haume.nz
Built with Kawhi
This scaffold keeps the default page local: edit public/index.php, tweak
public/page.css, and add route folders like public/contact/index.php
when you need more pages.
Simple edits stay simple
Keep straightforward content inside the route entrypoint. If the page grows, split it into
route-local _partials/ or a small logic.php beside the page.
Shared only after reuse
_site/ when it is genuinely shared
Use _site/components/ or _site/lib/ for code that serves more than one route,
not for every small piece of markup.
htmx-first interactions
When a page needs interaction, prefer a route-local handler like
public/contact/submit.php so the full feature stays easy to inspect.
Start here
Update _site/site_config.php for your site identity, then add or edit route folders under
public/. If a page needs custom styling, create a local page.css beside it.
public/about/index.php for /about/.
public/about/page.css and it will load automatically.
public/about/submit.php.