I'm trying to hide a database item that is part of a repeater.
Simply put, I have a "latest content" list on each item page, and I would like the item part of this "latest content" list to be hidden if the user is currently browsing this item page. Each item has a unique ID, so that's the data I'd use to make that work.
Basically : if (item in latest content list) === (same content the user is browsing the page of) then hide this item in the "latest content list"
Here's a screenshot so you can see what I'm talking about.
Any idea how to pull this off? Thanks!