@php $primarySidebar = Theme::partial('primary-sidebar'); @endphp
{!! Theme::partial('breadcrumbs') !!}

{{ $post->name }}

{{ $post->created_at->translatedFormat('Y-m-d') }}  @if (class_exists($post->author_type)) @if ($post->author->url) {{ $post->author->name }} @else {{ $post->author->name }} @endif @endif
@if (is_plugin_active('ads')) {!! AdsManager::display('top-single-page', ['style' => 'margin-bottom: 20px']) !!} @endif @if ($post->format_type == 'video') @php $url = str_replace('watch?v=', 'embed/', MetaBox::getMetaData($post, 'video_link', true)); @endphp @if (!empty($url))

@endif @endif @if (defined('GALLERY_MODULE_SCREEN_NAME') && !empty($galleries = gallery_meta_data($post))) {!! render_object_gallery($galleries, ($post->firstCategory ? $post->firstCategory->name : __('Uncategorized'))) !!} @endif
{!! BaseHelper::clean($post->content) !!}

{{ __('Share:') }} {!! Theme::renderSocialSharing($post->url, SeoHelper::getDescription(), $post->image) !!}

@if ($post->tags->isNotEmpty())
{{ __('Tags') }}: @foreach ($post->tags as $tag) {!! BaseHelper::clean($tag->name) !!} @endforeach
@endif @if (is_plugin_active('ads')) {!! AdsManager::display('bottom-single-page', ['style' => 'margin-top: 20px']) !!} @endif
{!! apply_filters(BASE_FILTER_PUBLIC_COMMENT_AREA, null, $post) !!}
@php $relatedPosts = get_related_posts($post->id, 5); @endphp @if ($relatedPosts->count()) @endif
{!! $primarySidebar !!}