HTML Templates, If condition in the Email confirmation

Hi all,

Hope you are well. 

I'm having a go with the HTML Templates but I'm stuck on using the IF statement. It confused me as some websites point out that HTML doesn't support that but I saw few examples of email confirmations that have it, even though they just apply in case the field is null or not.

I'm looking for a way to show a specific text if the seats booked belong to the standing area, so I tried with something like this:

@foreach (var subLineItem in product.Performance.LineItem.SubLineItems)
{

if(subLineItem.Seat.Row = 'U'){

<p>Standing</p>
}

else {

var seatRow = string.IsNullOrEmpty(subLineItem.Seat.Number) ? "TBD" : subLineItem.Seat.Row + " " + subLineItem.Seat.Number;
@seatRow<br/>

}

And of course, it doesn't work, and I tried changing few bits but can't find the solution.

does anyone has some examples that he's willing to share, please?

Many Thanks,
Sergio