@extends('components.layout.admin.container') @section('title', 'Blog') @section('links') @endsection @section('main')

Blog

plus icon

Tambah Blog

@foreach ($blogs as $item)

{{ $item->title }}

{{ $item->comment->count() }} Komentar

{{ $item->show ? 'show' : 'hidden' }}

{{ $item->summary }}

Update
@csrf @method('DELETE')
@endforeach
{{ $blogs->appends(request()->query())->links() }}
@endsection @section('scripts') @endsection