is_homepage

Whether you're on the homepage.

{{ if is_homepage }} Home sweet home {{ /if }}

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 →