$roots->index()

Returns the document root of the website

  • return (string)

Example

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