Skip to content Skip to footer navigation
🏰 Statamic Summit 2027 Feb 16–19 Talks, workshops, and three nights in a German castle. Get Tickets

published

A boolean that specifies whether the content is published. Or "live", or "not a draft".

{{ if published }}
Published!
{{ else }}
Draft
{{ /if }}
@if ($published)
Published!
@else
Draft
@endif