You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename the schema field `draft: boolean` → `published: boolean` (default
false) so every essay and sketch starts unpublished. To ship, set
`published: true` in the entry's frontmatter (or in the SKETCHES row).
Why the rename: `draft: false` is a double-negative for what's
conceptually "I've polished this and it's official"; `published: true`
reads as the affirmative act of publishing, matching the new mental
model where draft is the resting state and publication is the
deliberate gesture.
Filter sites flip from `!e.data.draft` to `e.data.published`. The
per-page `isDraft(slug)` helper survives unchanged at call sites
(clinamen / hello-world / smoke / shi PROD redirects); internally it
now returns `!sketch.published`.
Existing entries:
- zhui-guang.md: gain `published: true` (only currently-shipped essay)
- clinamen, smoke (already-shipped sketches): gain `published: true`
- hello-world, shi (drafted sketches): drop the now-redundant `draft: true`
- jeux-deau-test + 5 score-themed essay drafts: drop `draft: true`
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments