Fork me on GitHub

Breadcrumb Navigation

breadcrumb(view = 'JarvesBundle:Default:breadcrumb.html.twig') returns a list of <a> from the root level to current active page.

Per default JarvesBundle:Default:breadcrumb.html.twig is used as template, but you can overwrite it and use you custom breadcrumb template.

Example generation:

<nav class="breadcrumb">
    <a href="/">jarves.io</a>

    » <a href="/documentation">Documentation</a>
    » <a href="/documentation/template">Template</a>

    » <a href="/documentation/template/breadcrumb">Breadcrumb</a>
</nav>

Found a typo? The website is based on Markdown, please feel free to send us a pull request! :) github.com/jarves/jarves.io/tree/master/app/jarves/website/jarves.io