Skip to content

Publishing Workflow

Managing the lifecycle of your content from draft to archive.

You can control the visibility of your page using the status field in the frontmatter.

StatusDescription
draftOnly visible to you (Admin) and CoreTeam. Good for work-in-progress.
reviewReady for feedback. Same visibility as draft, but signals it’s ready.
publishedLive! Visible to everyone allowed by the roles field.
archivedHidden from the menu, but still accessible if you have the link (Admin only).
---
title: "New Policy"
status: "draft"
---

You can schedule pages to automatically publish or archive on specific dates.

---
title: "Q1 Strategy"
status: "draft"
publishDate: "2025-01-01" # Goes live on New Year's Day
archiveDate: "2025-04-01" # Disappears on April 1st
---

You can preview how your content looks to different users by adding parameters to the URL in your browser.

  • View as Member: ?test_role=Member
  • View as Guest: ?test_role=Guest
  • See Drafts (even if not Admin): ?show_status=true

Example: http://localhost:4321/protected/member/page?test_role=Guest (Should show Access Denied)