@extends('frontend.layouts.main') @section('title', $seo['title'] ?? '') @section('keywords', $seo['keywords'] ?? '') @section('description', $seo['description'] ?? '') @section('abstract', $seo['abstract'] ?? '') @section('image', $seo['image'] ?? '') @section('idMain', 'page-post-detail') @section('css') @endsection @section('code_schema') @include('frontend.components.schema.schema-post',['data'=>$data]) @endsection @section('canonical') @endsection @section('content') @include('frontend.components.breadcrumbs', ['caetgory' => $category, 'parents' => $category->parentsRecursiveLimit(3)])
@isset($title)

{{$title}}

@endisset
{{$data->created_at->format('d-m-Y')}}
{{$data->view}} lượt xem
@if(isset($data->description) && $data->description != null)
{{$data->description}}
@endif

Nội dung chính

    {!!$data->content!!}
    @include('frontend.components.posts.sidebar-news')
    @if(count($dataRelate) > 0 )
    @foreach($dataRelate as $item) @include('frontend.components.posts.item1', ['data' => $item]) {{--
    {{$item->name}}

    {{$item->name}}

    {{$item->created_at->format('d-m-Y')}}
    {{$item->category->name}}
    {{$item->description}}
    --}} @endforeach
    @endif @endsection @section('js') @endsection