@switch (effectiveLayout) { @case ('HERO') { @if (imageIds.length > 0 || editable) {
@if (heroId) {
@if (editable) {
}
} @if (restIds.length > 0 || editable) {
@for (id of restIds; track id) {
@if (editable) {
}
} @if (editable) { }
} @if (!heroId && editable) {
}
} @else {
Aucune illustration
} } @case ('MASONRY') { @if (imageIds.length > 0 || editable) {
@for (id of imageIds; track id) {
@if (editable) {
}
} @if (editable) {
}
} @else {
Aucune illustration
} } @case ('CAROUSEL') { @if (imageIds.length > 0 || editable) {
@if (imageIds.length > 1) {
}
@for (id of imageIds; track id) {
@if (editable) {
}
} @if (editable) {
}
@if (imageIds.length > 1) {
}
} @else {
Aucune illustration
} } @case ('EDITORIAL') { @if (imageIds.length > 0 || editable) {
@for (id of imageIds; track id; let i = $index) {
@if (editable) {
}
} @if (editable) {
}
} @else {
Aucune illustration
} } @case ('MAPS') { @if (imageIds.length > 0 || editable) {
@for (id of imageIds; track id) {
@if (editable) {
}
} @if (editable) {
}
} @else {
Aucune illustration
} } @default { @if (imageIds.length > 0 || editable) {
@for (id of imageIds; track id) {
@if (editable) {
}
} @if (editable) { }
} @else {
Aucune illustration
} } }
@if (lightboxId) {
}