Core concept
Pages & Page Layouts
Every Page has a Page Layout that decides which Elements it may contain. Pages are versioned, can be scheduled, and can be restricted to certain roles.
Draft and publish
Every Page keeps two versions: a draft you edit and a public version visitors see. Publishing copies the draft over the public version, so work in progress never leaks โ and you can preview the draft in the admin any time.
- Edit the draft freely.
- Preview it privately.
- Publish when it's ready.
Scheduled publishing. Give a Page a go-live date to publish it automatically at a future time, and an end date to retire it โ ideal for embargoed news or time-limited campaigns.
Restricted pages. Mark a Page as restricted and choose its permitted roles, so only signed-in users with those roles can see it โ perfect for members-only or internal content.
config/alchemy/page_layouts.yml
- name: article
cache: false
elements: [post_header, prose]
# A Page can also be scheduled and access-controlled:
# public_on: 2026-09-01 09:00 # goes live
# public_until: 2026-12-31 23:59 # retires automatically
# restricted: true # signed-in visitors only
# permitted_roles: [member] # ...with one of these roles