@if ($title = $shortcode->title)

{{ $title }}

@endif
@if ($category->posts->isNotEmpty())
@php $postFirst = $category->posts->first(); $timeReadingFirst = number_format(strlen(strip_tags($postFirst->content)) / 300) @endphp
{{ $postFirst->name }}

{{ $postFirst->name }}

{{ $postFirst->created_at->translatedFormat('M d, Y') }} {{ __(':number mins read', ['number' => $timeReadingFirst]) }}

{!! BaseHelper::clean(Str::limit($postFirst->description, 120)) !!}

@foreach($category->posts as $post) @php $timeReading = number_format(strlen(strip_tags($post->content)) / 300) @endphp @if(! $loop->first)

{{ $post->name }}

{{ $post->created_at->translatedFormat('M d, Y') }} {{ __(':number mins read', ['number' => $timeReading]) }}

{{ Str::limit($postFirst->description, 120) }}

@endif @if(! $loop->last && ! $loop->first)
@endif @endforeach
@endif