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