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

live_preview

A boolean for whether the current page is being viewed in Live Preview.

{{ if live_preview }}
<div>If you are seeing this, you're in Live Preview 😎</div>
{{ /if }}