Skip to content Skip to footer navigation

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 }}