spee.ch/views/partials/gridItem.handlebars
2017-10-25 09:17:47 -07:00

7 lines
No EOL
232 B
Handlebars

<a href="{{this.showUrlLong}}">
{{#ifConditional this.contentType '===' 'video/mp4'}}
<img class="grid-item" src="{{this.thumbnail}}"/>
{{else}}
<img class="grid-item" src="{{this.directUrlLong}}" />
{{/ifConditional}}
</a>