@extends('front.layouts.front') @section('content') {{--
--}}
@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

{{ date('F d, Y', strtotime($stripped_post->post->created_at)) }}

{{ $stripped_post->post->title }}

@foreach($article_categories as $category) {{ $category['title'] }}@if($loop->remaining),@endif @endforeach

{{--
--}}

{{ $stripped_post->post->excerpt }}

@php $blog_slug = $stripped_post->post->slug; @endphp
@endforeach
{!! str_replace('/?', '?', $posts->links()) !!}

Recent Posts

{{-- This is the Categories section that is being removed --}}

Testimonials

@foreach($testimonials as $testimonial)

{{$testimonial->title}}

{{$testimonial->description}}

@endforeach
{{-- --}}
@endsection