How can I customize order confirmations based on location using Liquid?

Hi,

I’m trying to customize order confirmations based on the city the order is being sent to. Can I use conditional Liquid “if” statements like you can with products, but have them location based?

Is anyone able to guide me as to what the HTML would look like for this?

Thank you!