@extends(getTemplate().'.layouts.app') @section('content')

{{ $pageTitle }}

{{ $blogCount }} {{ trans('site.posts') }}
@foreach($blog as $post)
@include('web.default.blog.grid-list',['post' => $post])
@endforeach

{{ trans('categories.categories') }}

@foreach($blogCategories as $blogCategory) {{ $blogCategory->title }} @endforeach

{{ trans('site.popular_posts') }}

@foreach($popularPosts as $popularPost)
{{ $popularPost->title }}

{{ truncate($popularPost->title,50) }}

{{ dateTimeFormat($popularPost->created_at, 'j M Y') }}
@endforeach {{ trans('home.view_all') }} {{ trans('site.posts') }}
{{ $blog->appends(request()->input())->links('vendor.pagination.panel') }}
@endsection