$sidebar, 'col-12' => ! $sidebar, ])> @if ($title = $shortcode->title)

{!! BaseHelper::clean($title) !!}

@endif
@foreach($categories as $category) @php $firstPost = $category->posts->first(); @endphp
{{ RvMedia::image($category->getMetaData('image', true), $category->name, 'thumb') }}
@if ($firstPost && ($author = $firstPost->author))

{{ __('By :name / :date', ['name' => $author->name, 'date' => $firstPost->created_at->format('d M Y')]) }}

@endif {{ $category->name }}
@endforeach
@if ($sidebar)
{!! dynamic_sidebar($sidebar) !!}
@endif