@php $settingData = get_post_setting_data($dynamic, isset($category) ? $category : null); $postSettings = $settingData['postSettings']; $__title = $postSettings['title'] ?? (isset($category) && $category ? $category->name : $dynamic->name); $__sub_title = $postSettings['sub_title'] ?? (isset($category) && $category ? $dynamic->name : null); $__description = $postSettings['description'] ?? (isset($category) && $category ? $category->description : $dynamic->description); $postOptions = $postSettings->makeByPrefix('detail_'); // $description = isset($categgory) && $category && $category->description ? $category->description : $dynamic->description; @endphp @extends($_layout . 'home') @include($_lib . 'register-meta') @section('content') @include($_template . 'navbg')
@if ($__sub_title) {{ $__sub_title }} @endif

{{ $__title }}

@if ($__description)

{{ $__description }}

@endif
@if (count($posts))
@foreach ($posts as $post)
{{ $post->title }}

{{ $post->title }}

@endforeach
{{ $posts->links($_template . 'pagination') }}
@else
Không có bài viết nào!
@endif
Images
Images
Images
Images
@endsection