{layout '../layouts/default.latte'} {block header}

Discover

{/block} {block content} {foreach $data->feed->items as $type => $items}

{$type|firstUpper}

{foreach $items as $item}
{embed '../components/card.latte'} {block content}
{if !empty($item->cardItem->cover)}
{/if}

{$item->cardItem->title}

{$item->cardItem->subTitle}

{$item->cardItem->description}

{/block} {block footer} Go {/block} {/embed}
{/foreach}
{if !$iterator->last}
{/if} {/foreach} {/block}