$urls->index()

Returns the base url of the site

  • return (string)

Example

<?php echo kirby()->urls()->index() ?>