$if(list_layout.is_grid)$
$list:partials/grid_card()$
$else$
$list:partials/list_card()$
$endif$