@extends('site.news.partial.layout') @section('body')
@foreach($posts->slice(0,1) as $post)

{{$post->category}}

{{$post->published_at->format('F d, Y')}}

{{$post->title}}

@endforeach @foreach($posts->slice(1) as $post)

{{$post->category}}

{{$post->published_at->format('F d, Y')}}

{{$post->title}}

@endforeach
@endsection