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}}
}

Comments

One response to “Hello world!”

  1. A WordPress Commenter Avatar

    Hi, this is a comment.
    To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
    Commenter avatars come from Gravatar.

Leave a Reply

Your email address will not be published. Required fields are marked *