SCHEMA — pages¶
The public site's long-form content: Markdown with YAML front matter, read by
tools/console/site_docs.pyand rendered by the console's page (docs/CONSOLE-PAGES.md).
Structure¶
| entry | kind | purpose | rules |
|---|---|---|---|
profile/ |
dir | Long-form pages, each at /<slug> (About, Experience, Services, Contact) |
terminal |
posts/ |
dir | Dated writing, YYYY-MM-DD-<slug>.md, at /blog/<slug>, or at /blog/YYYY-MM-DD-<slug> for a series entry or a slug two files share; drafts show only on a console |
terminal |
Placement¶
- New standalone page →
profile/<slug>.md(front matter: title, description, order, icon), then add the slug toPROFILE_PAGESintools/console/web/src/nav.tsand a row intools/console/snapshot.pySTATIC_ROUTES. - Dated writing →
posts/YYYY-MM-DD-<slug>.md, slug in lowercase letters, digits and hyphens. Front matter:title,date,excerpt(ordescription; with neither, the first paragraph is the excerpt),categories,tags,draft.draft: truekeeps a post off the public build: it shows only on a console. - A one-off post is served at
/blog/<slug>. A series entry is served at its dated stem,/blog/YYYY-MM-DD-<slug>, from the first one on, so no entry's address moves when the next lands; so is every post of a slug two files share. The series are listed inSERIESintools/console/site_docs.py: the dailyYYYY-MM-DD-chronicle.md(constitution § 23.2) and the weeklyYYYY-MM-DD-weekly-retro.md, both drafted by the weekly routine. A new series is added there, andtools/console/test_pages.pyholds every post to an address of its own. - A chronicle or retro lands as a draft and is published only after a human or an agent has reviewed it, by removing
draft: true(§ 23.4);tools/dash weekly confirm --applyis that review for the posts the weekly routine drafts (docs/WEEKLY.md). - A new dashboard surface is a console page, not Markdown →
tools/console/web/src/pages/(see tools/console/web/SCHEMA.md).