src/_index.php
This page. A _name.php file compiles to name.html in the same folder. The PHPDOC block at the top becomes $title, $section, $abstract…
A starter site built with Kirigami — PHP page templates compiled to dependency-free static HTML.
src/_index.phpThis page. A _name.php file compiles to name.html in the same folder. The PHPDOC block at the top becomes $title, $section, $abstract…
src/_layouts/header.php and footer.php wrap every page (set in kirigami.yaml under prepros).
src/_lib/functions.phpRegister custom tags, Markdown shortcodes and render hooks. Try <year>: 2026.
src/styles/ · src/scripts/The Sass and esbuild task entries. Edit partials/_conf.scss to retheme — it forwards @kirigami/canva.
npm install
npx kiri watch # rebuild on save, no server
npx kiri build # one-off dev build
npx kiri export # production build into dist/