$site->url()

Returns the base URL for the site

Example

Fetching the base URL for the site

<?php echo $site->url() ?>

Fetching the base URL for a language

<?php echo $site->url('en') ?>