@foreach(\App\Models\Post::where('status',1)->where('is_pinned',1)->limit(2)->get() as $post)
{{$post->mainGroup->name}}
{{$post->title}}

{{$post->title}}

{{$post->created_at->ldate('Y/m/d l')}}
@endforeach

@if(!getSetting($data->area->name.'_'.$data->part.'_invert'))
@include('segments.posts_page.SimplePostListSideBar.inc.sidebar')
@endif
@foreach($posts as $post)
{{$post->title}}

{{$post->title}}

{{$post->created_at->ldate('Y/m/d l')}}

{{$post->subtitle}}
{{__("Read more")}}

@endforeach {{$posts->links()}}
@if(getSetting($data->area->name.'_'.$data->part.'_invert'))
@include('segments.posts_page.SimplePostListSideBar.inc.sidebar')
@endif