@extends('layouts.vertical', ['title' => 'Post Detail', 'sub_title' => 'Post', 'mode' => $mode ?? '', 'demo' => $demo ?? ''])
@section('content')
{{ $totalPosts }}
Total Content
{{ $totalPublicPosts }}
Total Content Public
{{ $totalViews }}
Total View
{{ $mostViewedPost->title ?? '' }}
{!! preg_replace('/\[caption[^\]]*\](.*?)\[\/caption\]/s', '$1', $mostViewedPost->content ?? '') !!}
@foreach ($activity as $item)
{{ \Carbon\Carbon::parse($item->created_at)->isoFormat('DD MMMM, YYYY') }}
@endforeach
@endsection