Fix: blog — date published, intro sans excerpt, styles card affinés
All checks were successful
Deploy / Deploy to Production (push) Successful in 19s
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:
parent
783a0c9196
commit
93308bbb65
2 changed files with 24 additions and 13 deletions
|
|
@ -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(),
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue