// Multi-page static site: home, about, and a dynamic greeting route. // Demonstrates html() pages, path captures, and a 404 fallthrough. cell Site { face { signal request(method: String, path: String, body: String) -> String signal greet(name: String) -> String promise "static pages plus one dynamic route" } on _page(title: String, body: String) { return concat( concat("
A site in Soma.
")) {method: "GET", path: "/about"} -> html(_page("About", "Built with cells.
")) {method: "GET", path: "/hello/" + nm} -> html(greet(nm)) _ -> html(404, _page("Not Found", "