[SOLVED] Conditional logic for data-driven content that returns no result

I stumbled on this post after i made this support request:

What i’ll probably end up using is:

since it seems like the most comprehensive solution. But i think i’m always partial to things being done on the generation side, rather than the client side. It feels cleaner. It’d be cool to see this functionality pulled into Hugo some day, if there were sufficient interest in it.

1 Like