@extends('layouts.backend') @section('extra_css') @endsection @section('content') @if (Session::get('message')) × {{ Session::get('message') }} @endif All Posts Add Post Search Id Headline Time Publisher Category Total Hit Action @foreach($posts as $post) {{ $post->id }} {{ $post->headline}} {{ bangla_published_time($post->created_at) }} {{ $post->User ? $post->User->name : '' }} {{ $post->categories->pluck('name')->implode(', ') }} {{ $post->view_count }} @endforeach {{ $posts->links() }} @endsection @section('extra_js') @endsection