Plugin

Pages

page

The page function returns a decorated page instance for a given identifier. Value arguments are page IDs, paths, or compatible class

{{ page('/about/company').title }}

structure

The structure method returns a navigation menu based on the page structure and configuration.

{{ structure()
    .linkAttributesDropdown({'data-toggle': 'dropdown'})
    .listClass('nav navbar-nav navbar-right')
    .childListClass('dropdown-menu')
    .render()|raw }}