$for(list)$
$if(it.description)$ $endif$
$if(it.layout.is_grid-2)$ $it.items:partials/grid_card()$ $elseif(it.layout.is_grid-3)$ $it.items:partials/grid_card()$ $elseif(it.layout.is_gallery-2)$ $it.items:partials/gallery_card()$ $elseif(it.layout.is_gallery-3)$ $it.items:partials/gallery_card()$ $else$
$it.items:partials/list_card()$
$it.items:partials/grid_card()$
$endif$
$if(it.omitted)$ $endif$
$endfor$