@php $content = content('blog.content'); $blogs = element('blog.element')->take(6); @endphp

{{ __(@$content->data->title) }}

@foreach ($blogs as $blog) @php $comment = App\Models\Comment::where('blog_id', $blog->id)->count(); @endphp
blog thumb
  • {{ @$blog->created_at->diffforhumans() }}
  • {{ $comment }} {{ __('comments') }}

{{ @$blog->data->title }}

{{ __('Read More') }}
@endforeach