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

Returns the root for the content file

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

Example

<?php echo $page->content()->root() ?>

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