$content([$lang])->root()

Returns the root for the content file

  • $lang (string)
    Optional, language code in multi-lang installation
  • return (string)

Example

<?= $page->content()->root() ?>

//multi-lang installation
<?= $page->content('en')->root() ?>