Breadcrumbs made easy

Want an easy way to do breadcrumbs? It doesn't get simpler than our new breadcrumb tag.

Want an easy way to do breadcrumbs? It doesn’t get simpler than our new breadcrumb tag.

1{% breadcrumb %}

How it works is to split the URL slug into its component parts. For example, if I might have URL path like /store/dining/chairs/modern-dining-chair, the breadcrumb tag will generate links like …

Store > Dining > Chairs > Modern Dining Chair

You can customise the separator markup too ….

1{% breadcrumb separator: ' > ' %}

The greater than symbol is the default separator.

Enjoy.

by Craig Sullivan
launch.ly

6 Sep 2013