@if ($title = Arr::get($config, 'title'))
{!! BaseHelper::clean($title) !!}
@endif
@if ($firstPost = $posts->first()) @php $image = $firstPost->image ? RvMedia::getImageUrl($firstPost->image) : null; @endphp
$image, "background-color: #5E5E5E !important" => ! $image, ]) > {!! Theme::partial('category-badge', ['post' => $firstPost]) !!}

{!! BaseHelper::clean($firstPost->name) !!}

{!! Theme::partial('post-meta', ['post' => $firstPost]) !!}
@endif @if ($posts = $posts->skip(1))
    @foreach($posts as $post)
  • @php $index = $loop->iteration + 1; @endphp

    {{ $index < 10 ? '0' . $index : $index }}

    {{ $post->name }}

    {!! Theme::partial('post-meta', compact('post')) !!}
  • @endforeach
@endif