Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Just exceptional. Thank you so much, Jack, you smashed it.

— Hugo, Developer

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.

Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →