Add Splide slider
This commit is contained in:
parent
f0f2633919
commit
0d52c5dd04
9 changed files with 4161 additions and 20 deletions
|
@ -5,11 +5,11 @@ return function ($pages, $page) {
|
|||
// Get exhibition page object
|
||||
$exhibitionsPage = $pages->template('exhibitions')->first();
|
||||
|
||||
// Get artworks files section content
|
||||
$artworks = $page->files()->template("artwork")->sortBy('sort');
|
||||
// Get image files section content
|
||||
$images = $page->files()->template("image")->sortBy('sort');
|
||||
|
||||
return [
|
||||
'exhibitionsPage' => $exhibitionsPage,
|
||||
'artworks' => $artworks
|
||||
'images' => $images
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue