File: D:/HostingSpaces/SBogers10/komma.pro/resources/views/site/partials/posts/postThumb.blade.php
<div class="post-thumb">
{{-- Link to post --}}
<a class="link-to-post" href="/blog/{{$post->translation->slug}}">
@if($post->images->isNotEmpty())
<figure style="background-image: url('{{ $post->images->first()->small_image_url }}')"></figure>
@else
{{-- Default image? --}}
<figure></figure>
@endif
<span class="title">{{ $post->translation->name }}</span>
<span class="teaser">
{!! str_limit($post->translation->teaser,65) !!}
</span>
</a>
{{-- Link to category --}}
@foreach($post->categories as $category)
<a class="category" href="/blog/categorie/{!! $category->translation->slug !!}">{!! $category->translation->name !!}</a>
@endforeach
</div>