@php $layout = MetaBox::getMetaData($post, 'layout', true); $layout = ($layout && in_array($layout, array_keys(get_blog_single_layouts()))) ? $layout : 'blog-post-right-sidebar'; Theme::layout($layout); Theme::asset()->container('footer')->usePath()->add('magic-popup', 'js/plugins/magnific-popup.js'); @endphp @if (Str::endsWith($layout, ['full-width', 'right-sidebar', 'left-sidebar']))
@if ($post->first_category && $post->first_category->name)

{{ $post->first_category->name }}

@endif

{{ $post->name }}

@if ($post->image)
{{ $post->name }}
@endif
{!! BaseHelper::clean($post->content) !!}

{!! apply_filters(BASE_FILTER_PUBLIC_COMMENT_AREA, null, $post) !!}
@if (!$post->tags->isEmpty()) @foreach ($post->tags as $tag) @endforeach @endif
{!! Theme::partial('social-share', ['url' => $post->url, 'description' => $post->description]) !!}
@endif