site()
Returns the site object in any situation
Example
<?php echo site()->title() ?>