{{ $post->title }}

{{ \Carbon\Carbon::parse($post->publish_date)->diffForHumans() }}

{{ $post->description }}

@if ($post->type != 'list' && $post->type != 'video') {{ $post->title }}
@if (config('settings.ads') && isset(config('settings.ads')->post_middle_desktop)) {!! config('settings.ads')->post_middle_desktop !!} @endif
@if (config('settings.ads') && isset(config('settings.ads')->post_middle_mobile)) {!! config('settings.ads')->post_middle_mobile !!} @endif
@endif @if ($post->type == 'list') @if (Request::has('content') && Request::get('content') > 0) @endif

{{ Request::has('content') ? Request::get('content') + 1 : 1 }}. {{ $post->content->items[Request::has('content') ? Request::get('content') : 0]->title }}

@if (config('settings.ads') && isset(config('settings.ads')->post_middle_desktop)) {!! config('settings.ads')->post_middle_desktop !!} @endif
@if (config('settings.ads') && isset(config('settings.ads')->post_middle_mobile)) {!! config('settings.ads')->post_middle_mobile !!} @endif
{!! $post->content->items[Request::has('content') ? Request::get('content') : 0]->content !!}
@if (Request::has('content') && Request::get('content') > 0) {{ __('Previous') }} @endif @if (!Request::has('content') || (Request::has('content') && Request::get('content') < count($post->content->items) - 1)) {{ __('Next') }} @endif
@elseif($post->type == 'article')
{!! $post->content !!}
@elseif($post->type == 'gallery')
{!! $post->content->content !!}
@elseif($post->type == 'video')
@if (config('settings.ads') && isset(config('settings.ads')->post_middle_desktop)) {!! config('settings.ads')->post_middle_desktop !!} @endif
@if (config('settings.ads') && isset(config('settings.ads')->post_middle_mobile)) {!! config('settings.ads')->post_middle_mobile !!} @endif
{!! $post->content->content !!}
@endif
@if ($post->meta && isset($post->meta->meta_keywords)) {{ __('Tags') }} : @foreach (explode(',', $post->meta->meta_keywords) as $keyword) {{ $keyword }} @endforeach
@endif @if($post->user)
@if ($post->user->avatar)
{{ $post->user->name }}
@endif
{{ $post->user->name }}

{{ $post->user->about && isset($post->user->about->bio) ? $post->user->about->bio : '' }}

@if ($post->user->about && isset($post->user->about->facebook)) @endif @if ($post->user->about && isset($post->user->about->twitter)) @endif @if ($post->user->about && isset($post->user->about->instagram)) @endif @if ($post->user->about && isset($post->user->about->youtube)) @endif @if ($post->user->about && isset($post->user->about->pinterest)) @endif @if ($post->user->about && isset($post->user->about->linkedin)) @endif @if ($post->user->about && isset($post->user->about->vk)) @endif @if ($post->user->about && isset($post->user->about->telegram)) @endif
@endif
@if ($prev) {{ $prev->title }} @endif @if ($next) {{ $next->title }} @endif
@include('themes.' . $theme['path'] . '.includes.reactions', ['post' => $post])
@if (config('settings.ads') && isset(config('settings.ads')->post_bottom_desktop)) {!! config('settings.ads')->post_bottom_desktop !!} @endif
@if (config('settings.ads') && isset(config('settings.ads')->post_bottom_mobile)) {!! config('settings.ads')->post_bottom_mobile !!} @endif
@if ($releated_posts)

{{ __('You may also be interested in;') }}

@foreach ($releated_posts as $i => $post)
{{ $post->title }}

{{ $post->title }}

{{ \Carbon\Carbon::parse($post->publish_date)->diffForHumans() }}
@endforeach
@endif
{{ __('Comments') }}
@if (!auth()->user())
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@else
{{ __('The logged in user is :username', ['username' => auth()->user()->name]) }}
@endif
@if ($errors->has('comment')) {{ $errors->first('comment') }} @endif
@if (config('settings.recaptcha') && isset(config('settings.recaptcha')->secret))
@if ($errors->has('g-recaptcha-response')) {{ $errors->first('g-recaptcha-response') }} @endif
@endif

@foreach ($post->comments as $comment)
{{ $comment->user ? $comment->user->name : $comment->fullname }}

{{ $comment->comment }}

{{ \Carbon\Carbon::parse($comment->created_at)->diffForHumans() }}
@endforeach
@include('themes.' . $theme['path'] . '.includes.sidebar')