@php // $featured swaps the thumbnail crop to a wider aspect; mirrors the html // demo's primary article-blog markup (assets/images/blog/blog-*.jpg). $featured ??= false; $thumbType = $featured ? 'horizontal_thumb' : 'medium'; @endphp
{!! RvMedia::image($post->image, $post->name ?: 'Image', $thumbType, false, ['loading' => 'lazy']) !!}
{{ $post->name }}
@if (! empty($post->description))

{{ $post->description }}

@endif