@foreach($stripped_posts as $stripped_post)
@php
$article_categories = $stripped_post->post->taxonomies->where('hierarchical', 0)->map(function($item) {
return ['slug' => $item->slug, 'title' => $item->title];
});
if(($article_categories->count()) > 1){
$article_categories = $stripped_post->post->taxonomies->where('hierarchical', 1)->map(function($item) {
return ['slug' => $item->slug, 'title' => $item->title];
});
}
$categories_map = $article_categories->map(function($item) {
return $item['title'];
});
@endphp
{{--
--}}
{{ $stripped_post->post->excerpt }}
@php
$blog_slug = $stripped_post->post->slug;
@endphp
@endforeach
{!! str_replace('/?', '?', $posts->links()) !!}
{{-- This is the Categories section that is being removed --}}