zoxon
11/11/2015 - 11:23 AM

mixin__bread-crumbs.jade

// +bread-crumbs(["Home", "Category", "Page name"])
mixin bread-crumbs(data)
	.b-bread-crumbs
		ul
			each ent, num in data
				if (num+1 < data.length)
					li.b-bread-crumbs__item 
						a(href="#").b-bread-crumbs__link= ent
						.b-bread-crumbs__separator.b-icon.b-icon_breadcrumb-arrow
				else
					li.b-bread-crumbs__item= ent