$urls->index()

Returns the base url of the site

  • return (string)

Example

<?= kirby()->urls()->index() ?>