@extends('layouts.frontend') @section('title', 'Category: ' . $category->name . ' - Blog - ' . setting('site_name')) @section('meta_description', $category->meta_description ?: 'Posts in category: ' . $category->name) @section('meta_keywords', $category->meta_keywords) @section('content')

Blog Category: {{ $category->name }}

@if($category->description)

{{ $category->description }}

@endif @if($posts->isEmpty())

No blog posts found in this category.

@else
@foreach($posts as $post) @include('blog::frontend.partials._post_card', ['post' => $post]) {{-- Assuming you create a partial --}} @endforeach
{{ $posts->links() }}
@endif
@endsection