@extends('blog.layout') @section('meta_title', $category->name.' — '.config('app.name')) @section('content')

Category: {{ $category->name }}

@if($category->description)

{{ $category->description }}

@endif
@forelse($posts as $post)

{{ $post->title }}

{{ $post->published_at?->format('M j, Y') }}

@if($post->excerpt)

{{ Str::limit(strip_tags($post->excerpt), 200) }}

@endif
@empty

No posts in this category.

@endforelse
{{ $posts->links() }}
@endsection