Is it possible to use a count conditional (or equivalent conditional) to change the display of an entry tag depending on how many entries there are?
For example, I have a grid field which I am using for a simple image gallery. I would like to add a condition so that if there is only one entry the image will display as a hero banner, but if there is more than one entry it will change to a gallery.
I wasn't sure if the following (or similar) was possible:
{if count > 1}
<!-- Gallery -->
{if:else}
<!-- Hero Image -->
{/if}
Thanks for any help.