Fix: blog — date published, intro sans excerpt, styles card affinés
All checks were successful
Deploy / Deploy to Production (push) Successful in 19s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-03-10 17:45:11 +01:00
parent 783a0c9196
commit 93308bbb65
2 changed files with 24 additions and 13 deletions

View file

@ -6,8 +6,8 @@ $mapArticle = function($article) {
return [
'title' => $article->title()->value(),
'slug' => $article->slug(),
'date' => $article->date()->toDate('d/m/Y'),
'intro' => $article->intro()->excerpt(200),
'date' => $article->published()->toDate('d/m/Y'),
'intro' => $article->intro()->value(),
'cover' => $article->cover()->toFile()?->url(),
];
};