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