19 lines
543 B
Handlebars
19 lines
543 B
Handlebars
<div class="full">
|
|
<h2>Trending</h2>
|
|
{{#each trendingAssets}}
|
|
{{#if this.nsfw}}
|
|
{{else }}
|
|
{{#ifConditional this.fileType '===' 'video/mp4'}}
|
|
<video class="asset-small" controls>
|
|
<source src="/api/streamFile/{{this.fileName}}">
|
|
{{!--fallback--}}
|
|
Your browser does not support the <code>video</code> element.
|
|
</video>
|
|
{{else}}
|
|
<a href="/show/{{this.name}}/{{this.claimId}}">
|
|
<img class="asset-small" src="/api/streamFile/{{this.fileName}}" />
|
|
</a>
|
|
{{/ifConditional}}
|
|
{{/if}}
|
|
{{/each}}
|
|
</div>
|