-
Notifications
You must be signed in to change notification settings - Fork 33
breadcrumb
diyphpdeveloper edited this page Apr 12, 2019
·
1 revision
Generates and outputs a breadcrumb list of links using a navigation as a point of reference.
{{ breadcrumb('main_menu') }}
By default the navigation function will output the items in a navigation as on unordered list with the following format:
<ul>
<li class="first"><a href="http://somedomain.com/link1">Link 1</a></li>
<li><a href="http://somedomain.com/link2">Link 2</a></li>
<li class="last current-item"><a href="http://somedomain.com/link3">Link 3</a></li>
</ul>
Behavioral arguments can also be provided to further manipulate rendering.
{{ breadcrumb('main_menu', ul_id='my_breadcrumbs', include_home=true, seperator='|') }}
- seperator
- hide_single
- include_home
- ul_id
- ul_class
- recursive