- {{ $post->dateFormat('d/m/Y') }} @if ($post->category)
- {{ $post->category->name }} @elseif(isset($category) && $category)
- {{ $category->name }} @endif
@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')
{{ $__description }}
@endif