spee.ch/views/partials/contentListItem.handlebars

16 lines
601 B
Handlebars
Raw Normal View History

2017-10-03 01:45:57 +02:00
<div class='row row--wide'>
<div class="column column--3 align-content-top">
<a href="{{this.showUrlLong}}">
2017-10-03 01:45:57 +02:00
{{#ifConditional this.contentType '===' 'video/mp4'}}
<img class="content-list-item-asset" src="{{this.thumbnail}}"/>
{{else}}
<img class="content-list-item-asset" src="{{this.directUrlLong}}" />
{{/ifConditional}}
</a>
2017-10-03 01:45:57 +02:00
</div><div class="column column--7 align-content-top">
<p>{{this.title}}</p>
2017-10-25 18:17:47 +02:00
<a class="link--primary" href="{{this.showUrlShort}}">spee.ch{{this.showUrlShort}}</a>
</div>
</div>