Mark pages as drafts or schedule them for future publication. Draft and scheduled pages are excluded from production builds but visible in dev mode.
Add draft: true to a page's frontmatter:
---
draft: true
---
The page will be:
eigen build output (not rendered, not in sitemap)eigen dev with a red "DRAFT" banner at the bottomSet a publish_date to schedule publication:
---
publish_date: 2026-04-01
---
The page will be excluded from production builds until the date arrives. On the publish date and after, it builds normally.
You can use both fields together:
---
draft: true
publish_date: 2026-04-01
---
This means "work in progress, targeting April 1st." The page is excluded from production builds due to draft: true regardless of the date. Remove draft: true when the content is ready, and the page will auto-publish on the scheduled date.
In eigen dev, all pages are rendered including drafts and scheduled pages. A fixed banner at the bottom of the viewport shows the page status:
draft: trueThe banner has id="eigen-draft-banner" if you need to style or hide it.
Draft/scheduled filtering applies to static pages only. Dynamic collection pages (e.g., [slug].html) are never skipped — filter individual collection items via data query transforms instead.
The publish_date format is YYYY-MM-DD (date only, no time component).