fix multiple carousel in one page

This commit is contained in:
Pablo Ferreiro 2023-04-08 12:03:33 +02:00
parent 4e191922fe
commit b5d034437f
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
3 changed files with 4 additions and 4 deletions

View file

@ -39,7 +39,7 @@
{include '../components/themes/common/stats.latte', playCount: $item->stats->playCount, diggCount: $item->stats->diggCount, commentCount: $item->stats->commentCount, shareCount: $item->stats->shareCount}
<div class="has-text-centered">
{include '../components/themes/common/share.latte', uniqueId: $info->detail->uniqueId, id: $item->id}
{if isset($item->video->playAddr)}
{if isset($item->video->playAddr) && $item->video->playAddr !== ""}
<!-- Download links, not shown if item is a gallery -->
{include '../components/themes/common/download.latte', playAddr: $item->video->playAddr, id: $item->id, uniqueId: $info->detail->uniqueId}
{/if}