This is a ForEach loop in astro!
Component

{foreach from=$array item=item}
{$item.name} - {$item.city}/{$item.country} #{$item.id} {$item.age}
{/foreach}

This was created with mock data and a loop.
The build process will take care of it and transform it to according smarty/php syntax.

This is a ForEach loop in astro!
Callback

{$person.name} - {$person.city}/{$person.country} #{$person.id} {$person.age}

This was created with mock data and a loop.
The build process will take care of it and transform it to according smarty/php syntax.

This is a if statement in astro!

The value boolean is true!