if/elseif/else
The @if, @elseif and the @else tags allows you to write conditionals inside the Edge templates.
- The 
@ifand the@elseiftag accepts the expression to evaluate as the only argument. - Only the 
@iftag needs to be closed explicitly with the@endstatement. Other tags must appear within the opening and closing if block. 
<!-- Start if -->
@if(user.fullName)
  <p> Hello {{ user.fullName }}! </p>
@elseif(user.firstName)
  <p> Hello {{ user.firstName }}! </p>
@else
  <p> Hello Guest! </p>
<!-- End if -->
@end
You can use the @unless tag in place of the @if tag to write an inverse if statement.
@unless(account.isActive)
  <p> Please verify the email address to activate your account </p>
@end