Blog

  • Hello world!

    Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

    The @if block conditionally displays its content when its condition expression is truthy:

    @if (a > b) {  <p>{{a}} is greater than {{b}}</p>}

    check

    If you want to display alternative content, you can do so by providing any number of @else if blocks and a singular @else block.

    @if (a > b) {
      {{a}} is greater than {{b}}
    } @else if (b > a) {
      {{a}} is less than {{b}}
    } @else {
      {{a}} is equal to {{b}}
    }