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