View file resources/views/widgets/_articles.blade.php

File size: 289B
@if ($articles->isNotEmpty())
    <div class="section-body">
    @foreach ($articles as $article)
        <i class="far fa-circle fa-lg text-muted"></i> <a href="/articles/{{ $article->id }}">{{ $article->title }}</a> ({{ $article->count_comments }})<br>
    @endforeach
    </div>
@endif