I don't want to be able to just show or hide elements from a collection. Hidden elements still exist in the DOM and are still indexed by Google. I want to be able to use logic to output or not output elements at all.
Example 1:
I have a resource section on my site and it has everything from blog posts to videos to downloadable resource. Bonus: some of this content is gated behind a form and some isn't. Gated content has a different layout than blog content which has a different layout than video content. Guess how many times I'm outputting the same content to the page and just showing or hiding it based on content type? Lots of duplicate content on that page now that I'd rather not have because a) bloat and b) search engine indexing.
Example 2:
I have an events collection and a page with tiles for all of my live events. You can click on an event to go to a detail (collection) page. A pandemic hits! Now I'm running virtual events and I want those tiles to link to an external page not on my site. (Yes, I can link to that from the content on the collection page but that extra step really hurts conversions.) So I'm outputting each event as TWO tiles, one with a redirect URL and one with the detail (collection) page URL and showing/hiding them based on whether the redirect URL is set.
Conditional HTML logic would solve this too! "Use this link IF this is set, otherwise use this other link."