Blot

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}}

Asked 3 years ago Edit
1 replies

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

{{^entry.page}}The text I want to hide.{{/entry.page}}
3 years ago Edit

Your reply