dynamize inspirations header
This commit is contained in:
parent
0afb0dfe54
commit
fceacaeed6
4 changed files with 28 additions and 12 deletions
|
|
@ -10,7 +10,7 @@ Date: 2024-04-24
|
|||
|
||||
----
|
||||
|
||||
New: false
|
||||
New: true
|
||||
|
||||
----
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,8 @@
|
|||
$collections = $page->children()->map(function ($child) {
|
||||
return [
|
||||
'title' => $child->title()->value(),
|
||||
'new' => $child->new()->value() === "true" ? true : false,
|
||||
'date' => $child->date()->toDate('Y-m-d'),
|
||||
'url' => $child->url(),
|
||||
'modified' => $child->modified('Y-m-d'),
|
||||
'status' => $child->status(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue