@section('meta') {{ $category->name }} @endsection @push('styles') @endpush

@for ($i = 0; $i < $countPostTop; $i++)
@endfor @foreach ($postTop as $post)
{{ Str::limit($post->title, 60, '...') }}

{!! Str::limit(strip_tags($post->description), 90, '...') !!}

avatar

{{ $post->user->name }}

@foreach ($post->post_categories as $categories) {{ $categories->category->name }} @endforeach

{{ $post->date }}

@endforeach
{{-- --}}

@if (!empty($ads_item1)) ads
@endif
@for ($i = 0; $i < $countPost; $i++)
@endfor
@foreach ($posts as $key => $post)
{{ Str::limit($post->title, 50, '...') }}

{!! Str::limit(strip_tags($post->description), 70, '...') !!}

{{ $post->date }}
@endforeach

@if (!empty($ads_item2)) ads
@endif
@if ($posts != null) {{ $posts->links() }} @endif
@if (!empty($ads_right)) Advertising @endif
@for ($i = 0; $i < $countNewPost; $i++)
@endfor @foreach ($newPost as $post) @endforeach

@for ($i = 0; $i < $count_popular_posts; $i++)
@endfor
@foreach ($popularPosts as $post) @endforeach
@if (!empty($advertise))
@endif