Can I check on my top page.ss if it is the homepage being displayed?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
There are several possibilities to do so.
If your Home-Page has a special Class (eg. HomePage), then you could check like this:
<% if ClassName = HomePage %>
Or you could use the URLSegment
<% if URLSegment = home %>
Perfect. Thanks :)