Add logo and edit general design
This commit is contained in:
parent
eb21a245bc
commit
e0cb8d46f4
8 changed files with 330 additions and 73 deletions
|
@ -1,6 +1,9 @@
|
|||
<?php
|
||||
|
||||
return function ($page) {
|
||||
return function ($site, $page) {
|
||||
|
||||
// Get home page object
|
||||
$homePage = $site->homePage();
|
||||
|
||||
// Get exhibitions field content (stored as yaml) and parse it to return an array
|
||||
$exhibitions = $page->exhibitions()->yaml();
|
||||
|
@ -15,6 +18,7 @@ return function ($page) {
|
|||
$instagram = $page->instagram();
|
||||
|
||||
return [
|
||||
'homePage' => $homePage,
|
||||
'exhibitions' => $exhibitions,
|
||||
'email' => $email,
|
||||
'instagram' => $instagram
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue