Embed forms in page main via compose_form.

listen collects forms from home and routed pages so mount_form is optional; validation errors re-render the owning page shell.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-08-12 09:02:37 +08:00
1 parent 0dcd9e3d03
commit b09538d242
13 files changed
+272 -40

No files matched your search

+1 -1
View File
@@ -7,4 +7,4 @@ cargo build -p marqdo_plugin_web
cargo run -- examples/web-site/index.mq.md
```
Then open http://127.0.0.1:18081/ (admin at `/admin`).
Then open http://127.0.0.1:18081/ — `/about`, `/new` (form in page slot), `/admin`.