14 lines
413 B
PHP
14 lines
413 B
PHP
<?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";
|
|
|
|
// Return general site controller data (merged by default with data from specific controllers)
|
|
return compact(
|
|
'logoAriaLabel',
|
|
'logoHref',
|
|
);
|
|
};
|