If/else logic statements can be used to say IF venue is "abc" show this - or IF facility is "xyz" show that for example.
See below for some information on how to build if else statements.
Noting the 'venue_name' used in the examples below can be replaced with any of the Event Hub merge tags to do comparisons on.
Noting the venue name must match exactly
{% if venue_name == "Accor Stadium" %}
This is Accor
{% elsif venue_name == "Commbank Stadium" %}
This is Commbank
{% elsif venue_name == "Sydney Cricket Ground" %}
This is SCG
{% else %}
This will print out if none of the conditions above are met (final in a set)
{% endif %}
{% if venue_name contains "Stadium" %}
This is a Stadium
{% elsif venue_name contains "Arena" %}
This is an Arena
{% else %}
This will print out if none of the conditions above are met (final in a set)
{% endif %}
See more on what operators can be used in logic statements:
https://shopify.github.io/liquid/basics/operators/
ā