{{ __('Blog') }} @if ($posts->count() > 0) @foreach ($posts as $post) @if ($loop->first && (request('page') == 1 || request('page') == null))
@else
@endif @if ($post->featured_image_url) @endif @if ($post->categories->count() > 0)
@foreach ($post->categories as $category) {{ $category->name }} @endforeach
@endif {{ $post->title }} {{ $post->created_at->format(config('streamline.blog.date_format')) }} - by {{ $post->user->name }}
@endforeach @if ($posts->hasPages())
{{ $posts->withQueryString()->links() }}
@endif @else {{ __('There aren\'t currently any posts') }} @endif