{foreach $feed->items as $item}

{$item->author->nickname} @{$item->author->uniqueId} {date('M d, Y', $item->createTime)}

{if !empty($item->challenges)}

{include './common/tags.latte', challenges: $item->challenges}

{/if}

{render_desc($item->desc, $item->textExtra)|noescape}

Song: {$item->music->title}

{include './common/stats.latte', playCount: $item->stats->playCount, diggCount: $item->stats->diggCount, commentCount: $item->stats->commentCount, shareCount: $item->stats->shareCount}
{include './common/content.latte', item: $item, isAutoplay: false, isBig: false}

Download video

{include './common/download.latte', playAddr: $item->video->playAddr, id: $item->id, uniqueId: $item->author->uniqueId}

Share link

{include './common/share.latte', uniqueId: $item->author->uniqueId, id: $item->id}
{embed '../details.latte', title: "Details"} {block content}

Is Ad: {bool_to_str($item->isAd)}

Can duet: {bool_to_str($item->duetEnabled)}

Can stitch (add this video to other ones): {bool_to_str($item->stitchEnabled)}

Can be shared: {bool_to_str($item->shareEnabled)} {/block} {/embed}

{/foreach} {if empty($feed->items)}

No items sent by TikTok!

{/if}
{include './common/controls.latte'}