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

is_homepage

Whether you're on the homepage.

{{ if is_homepage }} Home sweet home {{ /if }}
@if ($is_homepage)
Home sweet home
@endif

If you're using multiple sites, this will be true if you're on the homepage for any configured site.