Crumbline

A simple crumbline ending at the current page. The tree menu is added to allow you to navigate deeper into the site to see the crumbline working.

<pinp>
  echo ar('html')
    ->menu( 'ul', array( 'class' => 'crumbs' ) )
    ->style('crumbs');

  echo ar('html')
    ->menu( 'ul', array( 'class' => 'crumbs' ) )
    ->current( $path )
    ->crumbs();

  ar::call('current:menu.tree.html');
</pinp>