Edit website structure

This commit is contained in:
Paul Nicoué 2022-07-21 17:20:07 +02:00
parent 2b79d762b3
commit 5921d2fafe
19 changed files with 104 additions and 110 deletions

View file

@ -10,7 +10,13 @@ return function ($page) {
$exhibition['title'] = str_replace(['http://', 'https://', 'www.'], '', $exhibition['url']);
}
// Get contact fields content
$email = $page->email();
$instagram = $page->instagram();
return [
'exhibitions' => $exhibitions
'exhibitions' => $exhibitions,
'email' => $email,
'instagram' => $instagram
];
};