kirby()

Returns the Kirby object in any situation

  • return ($kirby)

Example

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