@extends('layouts.main.master') @section('title') {{$title_page}} @endsection @section('description') {{$title_page}} @endsection @section('image') {{url(''.$banner[0]->image)}} @endsection @section('css') @endsection @section('content')
@foreach ($blogCate as $item) @if (count($item->listBlog) > 0)
@foreach ($item->listBlog as $key => $i) @if ($key == 0)
@endif @endforeach
@foreach ($item->listBlog as $key => $i) @if ($key > 0 && $key < 6) @endif @endforeach
@endif @endforeach @if (count($blog) > 0)

Latest Articles

@foreach ($blog as $key => $item) @if ($key > 5)

{{languageName($item->title)}}

{{date_format($item->created_at,'d/m/Y')}}
{{languageName($item->description)}}
@endif @endforeach
@else

Currently, the category does not have any articles

@endif
@endsection