@extends('layouts.app') @section('title', $category->name . ' - Blog') @section('content')

{{ $category->name }}

@if($category->description)

{{ $category->description }}

@endif

{{ $posts->total() }} article(s) dans cette catégorie

@if($posts->count() > 0)
@foreach($posts as $post)
@if($post->featured_image) {{ $post->title }} @endif

{{ $post->title }}

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

{{ $post->published_at->format('d/m/Y') }}
@foreach($post->categories as $cat) {{ $cat->name }} @endforeach
@endforeach
{{ $posts->links() }}
@else

Aucun article trouvé dans cette catégorie.

Retour au blog
@endif
← Retour au blog
@endsection