Skip to content Skip to footer navigation

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.