@if (project){
@if (project.images.length > 0){ {{ project.images[0].title }} }

{{ project.title }}

@for (image of project.images; track image.id; let imageIndex = $index) { @if (imageIndex > 0){ @if (image.video == 0){ {{ image.title }} } @else{ {{ image.title }} } } }
@if ((project.children?.length ?? 0) > 0){ @for (child of project.children; track child.id) {

{{ child.title }}

@for (image of child.images; track image.id) { @if (image.video == 0){ {{ image.title }} } @else{ {{ image.title }} } }
} } }