Your sites Log in Sign up Menu

How to hide text if it's the homepage

I'd like to hide a link on my homepage. I thought using the below conditional on the page variable would work but it didn't work and the text is hidden everywhere. Any ideas?

{{^page}}The text I want to hide.{{/page}}

a month ago, 1 replies   developers   pages   Improve this question

Is that code inside the {{#entry}} ... block? Otherwise it needs to be:

{{^}}The text I want to hide.{{/}}
Answered a month ago · Improve this answer