$urls->index()

Returns the base url of the site

  • return (string)

Example

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

Is something missing or incorrect? Edit this page on Github…