Bread crumbs jade?

How to implement such bread crumbs in jade
Using mixin
I do not understand.
5b507ad9194dd036533148.png
June 3rd 19 at 20:24
1 answer
June 3rd 19 at 20:26
maybe so -
links and descriptions object links
html tags for bootstrap
mixin bc(links)
 - var len=links.length
ol.breadcrumb
 - var i=0
 while i < len 
li
a(href=link[i].path)=link[i].title
 - i++ 
 li.active=link[i].title

Find more questions by tags Pug