Set up CV page
This commit is contained in:
parent
18c60b22cd
commit
098b8b8e0d
14 changed files with 117 additions and 31 deletions
20
site/controllers/site.php
Normal file
20
site/controllers/site.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
return function ($site) {
|
||||
|
||||
// Get site URL (home page URL) to potentially override logo href and aria-label attributes in other templates
|
||||
$logoHref = $site->url();
|
||||
$logoAriaLabel = "Go to {$site->title()}'s home page";
|
||||
|
||||
// Get contact fields content
|
||||
$email = $site->email();
|
||||
$instagram = $site->instagram();
|
||||
|
||||
// Return data
|
||||
return compact(
|
||||
'email',
|
||||
'instagram',
|
||||
'logoAriaLabel',
|
||||
'logoHref',
|
||||
);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue