@if (is_plugin_active('blog') && $posts->isNotEmpty())
    <h5 class="padtop40 titlenewnews">{{ $config['name'] }}</h5>

    @foreach ($posts as $post)
        <div class="mb-4 w-100 float-left lastestnews">
            <a href="{{ $post->url }}" class="text-dark">
                <img class="img-thumbnail float-left mr-2" data-src="{{ RvMedia::getImageUrl($post->image, 'thumb', false, RvMedia::getDefaultImage()) }}" src="{{ RvMedia::getImageUrl($post->image, 'thumb', false, RvMedia::getDefaultImage()) }}" width="90" alt="{{ $post->name }}">
                {!! BaseHelper::clean($post->name) !!}
            </a>
        </div>
    @endforeach
@endif
