@extends('layouts.app') @section('title', 'Blog') @section('content')

Les dernières actualités et articles

Catégories

@foreach ($categories as $category) {{ $category->name }} ({{ $category->posts_count }}) @endforeach

Articles récents

@foreach ($recentPosts as $recentPost)
@if ($recentPost->cover_image_url) {{ $recentPost->title }} @endif
{{ Str::limit($recentPost->title, 25) }} {{ $recentPost->published_at ? $recentPost->published_at->format('d M Y') : $recentPost->created_at->format('d M Y') }}
@endforeach

Tags

@foreach ($tags as $tag) {{ $tag->name }} @endforeach
@endsection